Files
llm-council/backend/config.py
Krishna Kumar 99d97c696b Fix OpenRouter model identifiers
- google/gemini-3-pro-preview → google/gemini-2.5-flash-preview-05-20
- anthropic/claude-sonnet-4.5 → anthropic/claude-sonnet-4
- x-ai/grok-4.1-fast → x-ai/grok-3-fast
2025-12-31 00:32:30 -06:00

27 lines
650 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-preview-05-20",
"anthropic/claude-sonnet-4",
"x-ai/grok-3-fast",
]
# Chairman model - synthesizes final response
CHAIRMAN_MODEL = "google/gemini-2.5-flash-preview-05-20"
# OpenRouter API endpoint
OPENROUTER_API_URL = "https://openrouter.ai/api/v1/chat/completions"
# Data directory for conversation storage
DATA_DIR = "data/conversations"