Fix OpenRouter model identifiers for LLM Council

Updated to valid model names that exist on OpenRouter:
- google/gemini-2.5-flash (was gemini-2.5-flash-preview-05-20)
- anthropic/claude-3.5-haiku (was claude-sonnet-4 - 402 error)
- x-ai/grok-3-mini (was grok-3-fast)
This commit is contained in:
Krishna Kumar
2025-12-31 09:11:49 -06:00
parent 99d97c696b
commit 8e73f9ffdf

View File

@@ -11,13 +11,13 @@ OPENROUTER_API_KEY = os.getenv("OPENROUTER_API_KEY")
# Council members - list of OpenRouter model identifiers
COUNCIL_MODELS = [
"openai/gpt-4o",
"google/gemini-2.5-flash-preview-05-20",
"anthropic/claude-sonnet-4",
"x-ai/grok-3-fast",
"google/gemini-2.5-flash",
"anthropic/claude-3.5-haiku",
"x-ai/grok-3-mini",
]
# Chairman model - synthesizes final response
CHAIRMAN_MODEL = "google/gemini-2.5-flash-preview-05-20"
CHAIRMAN_MODEL = "google/gemini-2.5-flash"
# OpenRouter API endpoint
OPENROUTER_API_URL = "https://openrouter.ai/api/v1/chat/completions"