8b3317e15b
CI / tests (py3.12) (push) Failing after 0s
CI / tests (py3.11) (push) Failing after 0s
CI / tests (py3.10) (push) Failing after 2s
CI / clean-install smoke (push) Failing after 1s
CI / ruff (strict, full repo) (push) Failing after 1s
CI / tests (py3.13) (push) Failing after 3s
69 lines
2.9 KiB
Bash
69 lines
2.9 KiB
Bash
# LLM Providers (set the one you use)
|
|
OPENAI_API_KEY=
|
|
GOOGLE_API_KEY=
|
|
ANTHROPIC_API_KEY=
|
|
XAI_API_KEY=
|
|
DEEPSEEK_API_KEY=
|
|
DASHSCOPE_API_KEY=
|
|
DASHSCOPE_CN_API_KEY=
|
|
ZHIPU_API_KEY=
|
|
ZHIPU_CN_API_KEY=
|
|
MINIMAX_API_KEY=
|
|
MINIMAX_CN_API_KEY=
|
|
OPENROUTER_API_KEY=
|
|
MISTRAL_API_KEY=
|
|
MOONSHOT_API_KEY=
|
|
GROQ_API_KEY=
|
|
NVIDIA_API_KEY=
|
|
|
|
# FRED (Federal Reserve macro data: rates, inflation, labor, growth). Free key: https://fred.stlouisfed.org/docs/api/api_key.html
|
|
#FRED_API_KEY=
|
|
|
|
# Optional: a custom OpenAI-compatible endpoint (vLLM, LM Studio, llama.cpp,
|
|
# relay). Select provider "openai_compatible" and set the base URL; the key is
|
|
# optional (local servers need none).
|
|
#OPENAI_COMPATIBLE_API_KEY=
|
|
|
|
# AWS Bedrock (provider "bedrock", install with: pip install ".[bedrock]").
|
|
# Auth: either a Bedrock API key (bearer token, no AWS access keys) OR the AWS
|
|
# credential chain (env keys / ~/.aws/credentials / IAM role / AWS_PROFILE). Set
|
|
# the region either way; a bearer token takes precedence when both are present.
|
|
#AWS_BEARER_TOKEN_BEDROCK=
|
|
#AWS_DEFAULT_REGION=us-west-2
|
|
#AWS_PROFILE=
|
|
|
|
# Optional: point at a remote Ollama server. When unset, defaults to
|
|
# the local instance at http://localhost:11434/v1. Convention follows
|
|
# the broader Ollama ecosystem; both the CLI dropdown and programmatic
|
|
# client pick this up.
|
|
#OLLAMA_BASE_URL=http://your-ollama-host:11434/v1
|
|
|
|
# Optional: override DEFAULT_CONFIG without editing code.
|
|
# Any TRADINGAGENTS_* variable below, when set, replaces the matching key
|
|
# in tradingagents/default_config.py. Values are coerced to the type of
|
|
# the existing default (bool / int / str), so "true"/"3" work as expected.
|
|
# In the CLI, setting the LLM provider / models / backend URL / language
|
|
# also skips the matching interactive selection step (useful for
|
|
# OpenAI-compatible endpoints like opencode or LM Studio, and unattended runs).
|
|
#TRADINGAGENTS_LLM_PROVIDER=openai
|
|
#TRADINGAGENTS_DEEP_THINK_LLM=gpt-5.4
|
|
#TRADINGAGENTS_QUICK_THINK_LLM=gpt-5.4-mini
|
|
#TRADINGAGENTS_LLM_BACKEND_URL=
|
|
#TRADINGAGENTS_OUTPUT_LANGUAGE=English
|
|
#TRADINGAGENTS_MAX_DEBATE_ROUNDS=1
|
|
#TRADINGAGENTS_MAX_RISK_ROUNDS=1
|
|
#TRADINGAGENTS_CHECKPOINT_ENABLED=false
|
|
# Sampling temperature (lower = less run-to-run variation on models that
|
|
# honor it). Unset leaves each provider at its default. See the README
|
|
# "Reproducibility" note — no setting makes LLM output fully deterministic.
|
|
#TRADINGAGENTS_TEMPERATURE=0.0
|
|
# LLM SDK retry budget forwarded to every provider. Unset leaves each SDK at its
|
|
# own default (usually 2). Raise it to ride out bursty 429 rate-limit throttling
|
|
# on rate-limited deployments (e.g. Azure OpenAI) instead of aborting the run.
|
|
#TRADINGAGENTS_LLM_MAX_RETRIES=6
|
|
# Provider-specific reasoning/thinking depth (optional; unset = provider
|
|
# default). Setting one also skips the matching interactive prompt.
|
|
#TRADINGAGENTS_OPENAI_REASONING_EFFORT=medium
|
|
#TRADINGAGENTS_GOOGLE_THINKING_LEVEL=high
|
|
#TRADINGAGENTS_ANTHROPIC_EFFORT=high
|