mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-02-12 17:22:50 +00:00
- Add DeepSeek provider config with Together.ai and official API support - Configure deepseek and enhancetool transformers for reliable tool calling - Add DEEPSEEK_API_KEY and DEEPSEEK_API_BASE env vars to docker-compose - Update shannon CLI to recognize DeepSeek as valid router provider
45 lines
1.8 KiB
Plaintext
45 lines
1.8 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
|
|
|
|
# =============================================================================
|
|
# 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
|