mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-02-12 17:22:50 +00:00
- Track actual model name from router through audit logs, session.json, and query output - Add router-utils.ts to resolve model names from ROUTER_DEFAULT env var - Inject model info into final report's Executive Summary section - Update documentation with supported providers, pricing, and config examples - Update router-config.json with latest model versions (GPT-5.2, Gemini 2.5, etc.)
51 lines
2.0 KiB
Plaintext
51 lines
2.0 KiB
Plaintext
# Shannon Environment Configuration
|
|
# Copy this file to .env and fill in your credentials
|
|
|
|
# Recommended output token configuration for larger tool outputs
|
|
CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000
|
|
|
|
# =============================================================================
|
|
# OPTION 1: Direct Anthropic (default, no router)
|
|
# =============================================================================
|
|
ANTHROPIC_API_KEY=your-api-key-here
|
|
|
|
# OR use OAuth token instead
|
|
# CLAUDE_CODE_OAUTH_TOKEN=your-oauth-token-here
|
|
|
|
# =============================================================================
|
|
# OPTION 2: Router Mode (use alternative providers)
|
|
# =============================================================================
|
|
# Enable router mode by running: ./shannon start ... ROUTER=true
|
|
# Then configure ONE of the providers below:
|
|
|
|
# --- OpenAI ---
|
|
# OPENAI_API_KEY=sk-your-openai-key
|
|
# ROUTER_DEFAULT=openai,gpt-5.2
|
|
|
|
# --- Google Gemini ---
|
|
# GEMINI_API_KEY=your-gemini-key
|
|
# ROUTER_DEFAULT=gemini,gemini-2.5-pro
|
|
|
|
# --- DeepSeek (cheapest option) ---
|
|
# DEEPSEEK_API_KEY=your-together-or-deepseek-key
|
|
# DEEPSEEK_API_BASE=https://api.together.xyz/v1/chat/completions # Default: Together.ai
|
|
# ROUTER_DEFAULT=deepseek,deepseek-ai/DeepSeek-V3
|
|
#
|
|
# To use DeepSeek's official API instead:
|
|
# DEEPSEEK_API_BASE=https://api.deepseek.com/chat/completions
|
|
# ROUTER_DEFAULT=deepseek,deepseek-chat
|
|
|
|
# --- OpenRouter (access 100+ models via single API) ---
|
|
# OPENROUTER_API_KEY=sk-or-your-openrouter-key
|
|
# ROUTER_DEFAULT=openrouter,anthropic/claude-sonnet-4
|
|
|
|
# =============================================================================
|
|
# Available Models
|
|
# =============================================================================
|
|
# OpenAI: gpt-5.2, gpt-5-mini
|
|
# Gemini: gemini-2.5-pro
|
|
# DeepSeek: (Together.ai) deepseek-ai/DeepSeek-V3
|
|
# (Official) deepseek-chat
|
|
# OpenRouter: anthropic/claude-sonnet-4, google/gemini-3-pro-preview,
|
|
# openai/gpt-5.2 (100+ more)
|