mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-05-15 14:08:00 +02:00
64 lines
3.1 KiB
Bash
64 lines
3.1 KiB
Bash
# 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
|
|
|
|
# Adaptive thinking is enabled automatically on Opus 4.6/4.7. Set to false to disable.
|
|
# CLAUDE_ADAPTIVE_THINKING=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/Vertex.
|
|
# 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-7)
|
|
|
|
# =============================================================================
|
|
# 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-7
|
|
|
|
# CLAUDE_CODE_USE_BEDROCK=1
|
|
# AWS_REGION=us-east-1
|
|
# AWS_BEARER_TOKEN_BEDROCK=your-bearer-token
|
|
|
|
# =============================================================================
|
|
# OPTION 4: Google Vertex AI
|
|
# =============================================================================
|
|
# https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-partner-models
|
|
# Requires a GCP service account with roles/aiplatform.user.
|
|
# Download the SA key JSON from GCP Console (IAM > Service Accounts > Keys).
|
|
# Requires the model tier overrides above to be set with Vertex AI model IDs.
|
|
# Example Vertex AI model IDs:
|
|
# ANTHROPIC_SMALL_MODEL=claude-haiku-4-5@20251001
|
|
# ANTHROPIC_MEDIUM_MODEL=claude-sonnet-4-6
|
|
# ANTHROPIC_LARGE_MODEL=claude-opus-4-7
|
|
|
|
# CLAUDE_CODE_USE_VERTEX=1
|
|
# CLOUD_ML_REGION=us-east5
|
|
# ANTHROPIC_VERTEX_PROJECT_ID=your-gcp-project-id
|
|
# GOOGLE_APPLICATION_CREDENTIALS=./credentials/google-sa-key.json
|