Skip to content

Commit d5ed975

Browse files
authored
Merge pull request #219 from esnible/git-service-on-ollama
Bug fix: Fix the Git Service when running on Ollama
2 parents 8655e29 + 3f28842 commit d5ed975

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

a2a/git_issue_agent/.env.ollama

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22
#
33
# Uses a local Ollama instance for LLM inference.
44
# Prerequisite: Ollama must be running with the model pulled:
5-
# ollama pull ibm/granite4:latest
5+
# ollama pull gpt-oss:latest
66

77
# LLM configuration
8-
TASK_MODEL_ID=ollama_chat/ibm/granite4:latest
8+
TASK_MODEL_ID=gpt-oss:latest
99
# Ollama API base URL. Required by litellm (used by crewai >=1.10).
10-
# For Docker Desktop / Kind: http://host.docker.internal:11434
11-
# For in-cluster Ollama: http://ollama.ollama.svc:11434
12-
LLM_API_BASE=http://host.docker.internal:11434
13-
OLLAMA_API_BASE=http://host.docker.internal:11434
10+
# For Docker Desktop / Kind: http://host.docker.internal:11434/v1
11+
# For in-cluster Ollama: http://ollama.ollama.svc:11434/v1
12+
# (This line matches all the other LLM_API_BASE examples in this repo)
13+
LLM_API_BASE=http://host.docker.internal:11434/v1
14+
# The API key is a dummy; ollama doesn't use it
1415
LLM_API_KEY=ollama
1516
MODEL_TEMPERATURE=0
1617

@@ -19,4 +20,5 @@ PORT=8000
1920
LOG_LEVEL=DEBUG
2021

2122
# MCP Tool endpoint
22-
MCP_URL=http://github-tool-mcp:9090/mcp
23+
# Port 8000 is the default for Kagenti Tools
24+
MCP_URL=http://github-tool-mcp:8000/mcp

0 commit comments

Comments
 (0)