mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-02-12 17:22:50 +00:00
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-4o
|
|
|
|
# --- 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-4o, gpt-4o-mini
|
|
# Gemini: gemini-2.5-pro, gemini-2.5-flash
|
|
# DeepSeek: (Together.ai) deepseek-ai/DeepSeek-V3, deepseek-ai/DeepSeek-R1
|
|
# (Official) deepseek-chat, deepseek-reasoner
|
|
# OpenRouter: anthropic/claude-sonnet-4, google/gemini-2.5-pro-preview,
|
|
# openai/gpt-4o, meta-llama/llama-3.3-70b-instruct (100+ more)
|