Skip to content

Commit b1494fb

Browse files
committed
Fix the Git Service when running on Ollama
Signed-off-by: Ed Snible <snible@us.ibm.com>
1 parent 30665a3 commit b1494fb

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

a2a/git_issue_agent/.env.ollama

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
# ollama pull ibm/granite4: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+
LLM_API_BASE=http://host.docker.internal:11434/v1
13+
OLLAMA_API_BASE=http://host.docker.internal:11434/v1
1414
LLM_API_KEY=ollama
1515
MODEL_TEMPERATURE=0
1616

@@ -19,4 +19,5 @@ SERVICE_PORT=8000
1919
LOG_LEVEL=DEBUG
2020

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

0 commit comments

Comments
 (0)