mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-04-28 23:36:16 +02:00
581c208b84
* feat: add ReportOutputProvider for consumer-extended report artifacts * fix: thread deliverablesSubdir through report assembly * fix: produce structured report JSON on resume path * fix: fail loud on structured report output provider errors * feat: extend checkpoint provider and container DI for consumer-specific backends * fix: pre-create .shannon overlay mount points on all platforms * chore: drop claude-code-router mode * fix: drop 'resets' keyword from spending-cap text patterns
61 lines
3.0 KiB
Bash
61 lines
3.0 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
|
|
|
|
# =============================================================================
|
|
# 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-6)
|
|
|
|
# =============================================================================
|
|
# 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-6
|
|
|
|
# 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-6
|
|
|
|
# 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
|