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:
@@ -11,13 +11,13 @@ OPENROUTER_API_KEY = os.getenv("OPENROUTER_API_KEY")
|
|||||||
# Council members - list of OpenRouter model identifiers
|
# Council members - list of OpenRouter model identifiers
|
||||||
COUNCIL_MODELS = [
|
COUNCIL_MODELS = [
|
||||||
"openai/gpt-4o",
|
"openai/gpt-4o",
|
||||||
"google/gemini-2.5-flash-preview-05-20",
|
"google/gemini-2.5-flash",
|
||||||
"anthropic/claude-sonnet-4",
|
"anthropic/claude-3.5-haiku",
|
||||||
"x-ai/grok-3-fast",
|
"x-ai/grok-3-mini",
|
||||||
]
|
]
|
||||||
|
|
||||||
# Chairman model - synthesizes final response
|
# 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 endpoint
|
||||||
OPENROUTER_API_URL = "https://openrouter.ai/api/v1/chat/completions"
|
OPENROUTER_API_URL = "https://openrouter.ai/api/v1/chat/completions"
|
||||||
|
|||||||
Reference in New Issue
Block a user