mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-06-30 10:35:36 +02:00
47 lines
2.3 KiB
Bash
47 lines
2.3 KiB
Bash
# Shannon Environment Configuration
|
|
# Copy this file to .env and fill in your credentials
|
|
|
|
# Adaptive thinking is enabled automatically on Opus 4.6/4.7/4.8. Set to false to disable.
|
|
# CLAUDE_ADAPTIVE_THINKING=false
|
|
|
|
# Shannon forwards your machine's /etc/hosts entries into the worker container. Set to false to disable.
|
|
# SHANNON_FORWARD_HOSTS=false
|
|
|
|
# =============================================================================
|
|
# OPTION 1: Direct Anthropic
|
|
# =============================================================================
|
|
ANTHROPIC_API_KEY=your-api-key-here
|
|
|
|
# OR use OAuth token instead
|
|
# CLAUDE_CODE_OAUTH_TOKEN=your-oauth-token-here
|
|
|
|
# =============================================================================
|
|
# OPTION 2: Custom Base URL (compatible proxies, gateways, etc.)
|
|
# =============================================================================
|
|
# Point the SDK at an alternative Anthropic-compatible endpoint.
|
|
# ANTHROPIC_BASE_URL=https://your-proxy.example.com
|
|
# ANTHROPIC_AUTH_TOKEN=your-auth-token # Auth token for the custom endpoint
|
|
|
|
# =============================================================================
|
|
# Model Tier Overrides (Anthropic API / OAuth / Custom Base URL / Bedrock)
|
|
# =============================================================================
|
|
# Override which model is used for each tier. Defaults are used if not set.
|
|
# Optional for direct Anthropic and custom base URL modes. Required for Bedrock.
|
|
# ANTHROPIC_SMALL_MODEL=... # Small tier (default: claude-haiku-4-5-20251001)
|
|
# ANTHROPIC_MEDIUM_MODEL=... # Medium tier (default: claude-sonnet-4-6)
|
|
# ANTHROPIC_LARGE_MODEL=... # Large tier (default: claude-opus-4-8)
|
|
|
|
# =============================================================================
|
|
# OPTION 3: AWS Bedrock
|
|
# =============================================================================
|
|
# https://aws.amazon.com/blogs/machine-learning/accelerate-ai-development-with-amazon-bedrock-api-keys/
|
|
# Requires the model tier overrides above to be set with Bedrock-specific model IDs.
|
|
# Example Bedrock model IDs for us-east-1:
|
|
# ANTHROPIC_SMALL_MODEL=us.anthropic.claude-haiku-4-5-20251001-v1:0
|
|
# ANTHROPIC_MEDIUM_MODEL=us.anthropic.claude-sonnet-4-6
|
|
# ANTHROPIC_LARGE_MODEL=us.anthropic.claude-opus-4-8
|
|
|
|
# CLAUDE_CODE_USE_BEDROCK=1
|
|
# AWS_REGION=us-east-1
|
|
# AWS_BEARER_TOKEN_BEDROCK=your-bearer-token
|