Skip to content

Commit e75d17b

Browse files
committed
chore: update model lists and defaults to GPT-5.4 family
1 parent 6cddd26 commit e75d17b

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ from tradingagents.default_config import DEFAULT_CONFIG
189189

190190
config = DEFAULT_CONFIG.copy()
191191
config["llm_provider"] = "openai" # openai, google, anthropic, xai, openrouter, ollama
192-
config["deep_think_llm"] = "gpt-5.2" # Model for complex reasoning
193-
config["quick_think_llm"] = "gpt-5-mini" # Model for quick tasks
192+
config["deep_think_llm"] = "gpt-5.4" # Model for complex reasoning
193+
config["quick_think_llm"] = "gpt-5.4-mini" # Model for quick tasks
194194
config["max_debate_rounds"] = 2
195195

196196
ta = TradingAgentsGraph(debug=True, config=config)

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
# Create a custom config
1010
config = DEFAULT_CONFIG.copy()
11-
config["deep_think_llm"] = "gpt-5-mini" # Use a different model
12-
config["quick_think_llm"] = "gpt-5-mini" # Use a different model
11+
config["deep_think_llm"] = "gpt-5.4-mini" # Use a different model
12+
config["quick_think_llm"] = "gpt-5.4-mini" # Use a different model
1313
config["max_debate_rounds"] = 1 # Increase debate rounds
1414

1515
# Configure data vendors (default uses yfinance, no extra API keys needed)

tradingagents/default_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
),
1010
# LLM settings
1111
"llm_provider": "openai",
12-
"deep_think_llm": "gpt-5.2",
13-
"quick_think_llm": "gpt-5-mini",
12+
"deep_think_llm": "gpt-5.4",
13+
"quick_think_llm": "gpt-5.4-mini",
1414
"backend_url": "https://api.openai.com/v1",
1515
# Provider-specific thinking configuration
1616
"google_thinking_level": None, # "high", "minimal", etc.

tradingagents/llm_clients/model_catalog.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
MODEL_OPTIONS: ProviderModeOptions = {
1212
"openai": {
1313
"quick": [
14-
("GPT-5 Mini - Balanced speed, cost, and capability", "gpt-5-mini"),
15-
("GPT-5 Nano - High-throughput, simple tasks", "gpt-5-nano"),
14+
("GPT-5.4 Mini - Fast, strong coding and tool use", "gpt-5.4-mini"),
15+
("GPT-5.4 Nano - Cheapest, high-volume tasks", "gpt-5.4-nano"),
1616
("GPT-5.4 - Latest frontier, 1M context", "gpt-5.4"),
1717
("GPT-4.1 - Smartest non-reasoning model", "gpt-4.1"),
1818
],
1919
"deep": [
2020
("GPT-5.4 - Latest frontier, 1M context", "gpt-5.4"),
2121
("GPT-5.2 - Strong reasoning, cost-effective", "gpt-5.2"),
22-
("GPT-5 Mini - Balanced speed, cost, and capability", "gpt-5-mini"),
22+
("GPT-5.4 Mini - Fast, strong coding and tool use", "gpt-5.4-mini"),
2323
("GPT-5.4 Pro - Most capable, expensive ($30/$180 per 1M tokens)", "gpt-5.4-pro"),
2424
],
2525
},

0 commit comments

Comments
 (0)