mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-06-16 21:06:15 +03:00
Adds a cross-provider temperature config (and TRADINGAGENTS_TEMPERATURE), forwarded to every LLM client when set, so runs can be made less variable on models that honor it. Adds a README "Reproducibility" section that separates the sources of run-to-run variation, what users can control (temperature, non-reasoning model, pinned date), and what is inherent to LLM-driven analysis, and notes that the identity and verified-data fixes already removed the "different companies / fabricated prices" variance. #178 #168
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
# 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=
|
|
|
|
# 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.
|
|
#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
|