Feature Request: Configurable Ollama Base URL
@Anurag-S1ngh 已经在做这个了。
开始于 2026年10月24日。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
调研方向
首先检查 action.yml 和 README.md,然后定位 Go 代码中调用 Ollama API 的位置。在保留 localhost 默认值的同时添加可配置输入,验证格式错误或无法访问的 URL,并记录 workflow 的使用方式。当所有 Ollama 调用都使用所选 URL,且相关测试或检查通过时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
🛠️ 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"
- 主要语言
- Go
- 星标
- 4
- 派生
- 7
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
microcks/microcks-cli#608 · 1 条评论 ·
维护者通常 1 天内回复
-
bug from-studio
难度 2/5 1-3 小时 新手友好度 65/100
esengine/DeepSeek-Reasonix#14868 ·
维护者通常 1 天内回复
-
Install notes print "Camunda REST API: https://" without a host when global.host is set可能已有人在做 @irisfield 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
camunda/camunda-platform-helm#7790 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
wso2/agent-manager#2220 ·
维护者通常 1 天内回复
-
[Bug]: zot exits with code 0 when it can't start可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 80/100
project-zot/zot#4636 ·
维护者通常 1 天内回复