mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-11-25 21:54:35 +01:00
* fix(worker): cap agent retries at 5 attempts with 1 to 8 minute backoff * fix(worker): run quick deterministic activities on the short deterministic profile * fix(worker): lower the agent heartbeat timeout to 5 minutes * feat(worker): add concurrency and agent timeout limits * docs: regenerate llms-full.txt
62 lines
2.6 KiB
Bash
62 lines
2.6 KiB
Bash
# Copy to .env and uncomment one provider block.
|
|
# SHANNON_AI_MODEL is <provider>:<model-id>, split on the first colon.
|
|
# Defaults to anthropic:claude-sonnet-4-6.
|
|
|
|
# --- Anthropic ---------------------------------------------------------------
|
|
SHANNON_AI_API_KEY=your-api-key-here
|
|
SHANNON_AI_MODEL=anthropic:claude-sonnet-4-6
|
|
# CLAUDE_CODE_OAUTH_TOKEN=your-oauth-token-here
|
|
|
|
# --- OpenAI ------------------------------------------------------------------
|
|
# SHANNON_AI_API_KEY=your-api-key-here
|
|
# SHANNON_AI_MODEL=openai:gpt-6-sol
|
|
|
|
# --- xAI ---------------------------------------------------------------------
|
|
# SHANNON_AI_API_KEY=your-api-key-here
|
|
# SHANNON_AI_MODEL=xai:grok-4.7
|
|
|
|
# --- AWS Bedrock -------------------------------------------------------------
|
|
# Bearer token only; model must be enabled in your region.
|
|
# AWS_REGION=us-east-1
|
|
# AWS_BEARER_TOKEN_BEDROCK=your-bearer-token
|
|
# SHANNON_AI_MODEL=amazon-bedrock:us.anthropic.claude-opus-4-8
|
|
|
|
# --- Custom Base URL ---------------------------------------------------------
|
|
# Anthropic Messages API:
|
|
# SHANNON_AI_API_KEY=your-gateway-key-here
|
|
# SHANNON_AI_BASE_URL=https://llm-gateway.example.com
|
|
# SHANNON_AI_MODEL=anthropic:claude-sonnet-4-6
|
|
|
|
# OpenAI Responses API:
|
|
# SHANNON_AI_API_KEY=your-gateway-key-here
|
|
# SHANNON_AI_BASE_URL=https://llm-gateway.example.com/v1
|
|
# SHANNON_AI_MODEL=openai:gpt-6-sol
|
|
|
|
# --- Other provider ----------------------------------------------------------
|
|
# Any other provider the Pi harness supports. Name it in SHANNON_AI_MODEL and
|
|
# supply the key via the generic SHANNON_AI_API_KEY. Pi validates the provider
|
|
# and model at preflight.
|
|
# SHANNON_AI_MODEL=openrouter:moonshotai/kimi-k3
|
|
# SHANNON_AI_API_KEY=your-api-key-here
|
|
# Optional: point that provider at a proxy or LLM gateway.
|
|
# SHANNON_AI_BASE_URL=https://llm-gateway.example.com
|
|
|
|
# --- Misc --------------------------------------------------------------------
|
|
# Forward /etc/hosts entries into the worker container.
|
|
# SHANNON_FORWARD_HOSTS=false
|
|
|
|
# See the guide below if your model endpoint is slow or rate limited
|
|
# https://github.com/KeygraphHQ/shannon/blob/main/docs/ai-providers.md#slow-model-endpoints
|
|
# SHANNON_MAX_CONCURRENCY=1
|
|
# SHANNON_AGENT_TIMEOUT_HOURS=6
|
|
|
|
# See the guide below to use an OpenAI subscription
|
|
# https://github.com/KeygraphHQ/shannon/blob/main/docs/ai-providers.md#openai-codex-chatgpt-pluspro-subscription
|
|
# SHANNON_USE_PI_AUTH=1
|
|
# SHANNON_AI_MODEL=openai-codex:gpt-6-sol
|
|
|
|
# Or the guide below to use an xAI subscription
|
|
# https://github.com/KeygraphHQ/shannon/blob/main/docs/ai-providers.md#xai-grok-subscription
|
|
# SHANNON_USE_PI_AUTH=1
|
|
# SHANNON_AI_MODEL=xai:grok-4.7
|