Skip to content

Commit 6806472

Browse files
CreatmanCEOclaude
andcommitted
fix: remove Gemini from pool-b — too unreliable for tool calling follow-up
Gemini 503 during follow-up after successful Haiku tool call broke the response. Pool B now Haiku-only. Gemini stays only in pool-a as fallback for simple queries. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f2e2d65 commit 6806472

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

backend/services/llm_router.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,11 @@ def create_router() -> Router:
3838
"api_key": gemini_key,
3939
}},
4040

41-
# Pool B — complex tasks
41+
# Pool B — complex tasks (Haiku only, Gemini too unreliable for tool calling)
4242
{"model_name": "pool-b", "litellm_params": {
4343
"model": "openrouter/anthropic/claude-haiku-4.5",
4444
"api_key": or_key,
4545
}},
46-
{"model_name": "pool-b", "litellm_params": {
47-
"model": "gemini/gemini-2.5-flash",
48-
"api_key": gemini_key,
49-
}},
5046

5147
# Pool B upgrade — deep reasoning
5248
{"model_name": "pool-b-upgrade", "litellm_params": {

0 commit comments

Comments
 (0)