-
Notifications
You must be signed in to change notification settings - Fork 34
Bug fix: Fix the Git Service when running on Ollama #219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,15 +2,16 @@ | |
| # | ||
| # Uses a local Ollama instance for LLM inference. | ||
| # Prerequisite: Ollama must be running with the model pulled: | ||
| # ollama pull ibm/granite4:latest | ||
| # ollama pull gpt-oss:latest | ||
|
|
||
| # LLM configuration | ||
| TASK_MODEL_ID=ollama_chat/ibm/granite4:latest | ||
| TASK_MODEL_ID=gpt-oss:latest | ||
| # Ollama API base URL. Required by litellm (used by crewai >=1.10). | ||
| # For Docker Desktop / Kind: http://host.docker.internal:11434 | ||
| # For in-cluster Ollama: http://ollama.ollama.svc:11434 | ||
| LLM_API_BASE=http://host.docker.internal:11434 | ||
| OLLAMA_API_BASE=http://host.docker.internal:11434 | ||
| # For Docker Desktop / Kind: http://host.docker.internal:11434/v1 | ||
| # For in-cluster Ollama: http://ollama.ollama.svc:11434/v1 | ||
| # (This line matches all the other LLM_API_BASE examples in this repo) | ||
| LLM_API_BASE=http://host.docker.internal:11434/v1 | ||
| # The API key is a dummy; ollama doesn't use it | ||
| LLM_API_KEY=ollama | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Adding
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, please re-review. |
||
| MODEL_TEMPERATURE=0 | ||
|
|
||
|
|
@@ -19,4 +20,5 @@ SERVICE_PORT=8000 | |
| LOG_LEVEL=DEBUG | ||
|
|
||
| # MCP Tool endpoint | ||
| MCP_URL=http://github-tool-mcp:9090/mcp | ||
| # Port 8000 is the default for Kagenti Tools | ||
| MCP_URL=http://github-tool-mcp:8000/mcp | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
must-fix: The header comment on line 5 still says
ollama pull ibm/granite4:latestbut the model ID is nowgpt-oss:latest. Please update the comment to match the new model, or explain whatgpt-ossis and what prerequisite pull command is needed.