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)
27 lines
623 B
Python
27 lines
623 B
Python
"""Configuration for the LLM Council."""
|
|
|
|
import os
|
|
from dotenv import load_dotenv
|
|
|
|
load_dotenv()
|
|
|
|
# OpenRouter API key
|
|
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",
|
|
"anthropic/claude-3.5-haiku",
|
|
"x-ai/grok-3-mini",
|
|
]
|
|
|
|
# Chairman model - synthesizes final response
|
|
CHAIRMAN_MODEL = "google/gemini-2.5-flash"
|
|
|
|
# OpenRouter API endpoint
|
|
OPENROUTER_API_URL = "https://openrouter.ai/api/v1/chat/completions"
|
|
|
|
# Data directory for conversation storage
|
|
DATA_DIR = "data/conversations"
|