-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
🛠️ Feature Request: Configurable Ollama Base URL
Team 150
Problem Statement
The current implementation has Ollama's base URL hardcoded to http://localhost:11434. This limits flexibility, especially for users who want to point to a self-hosted or remote Ollama instance rather than the default local setup.
Proposed Solution
Add an ollama-url input parameter to the GitHub Action configuration (action.yml). This parameter should allow users to specify a custom Ollama server URL. The action should use this input to determine the base URL for connecting to Ollama.
Acceptance Criteria
- Introduce a new
ollama-urlinput inaction.yml(with a suitable default if omitted). - Update code to use the specified
ollama-urlfor all Ollama API calls. - Update documentation and
README.mdto explain how to set a custom Ollama URL. - Add input validation and error handling for malformed or unreachable URLs.
Context / Motivation
Making Ollama's base URL configurable enables broader support for diverse CI/CD or on-premise deployments where the Ollama server may not be running on localhost.
Additional Notes
- Ensure the default (
http://localhost:11434) is maintained for users who do not specify a value. - Example usage in workflow:
with: ollama-url: "http://my-ollama-server:11434"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels