Skip to content

Commit cbd17ac

Browse files
committed
docs: drop retired model IDs from the reproducibility note and smoke script
The README reproducibility example named gpt-4.1 and the structured-output smoke script listed gemini-2.5-flash / deepseek-chat / qwen-plus / grok-4 — all retired from the catalog. Generalize the note and refresh the smoke defaults.
1 parent 8ab24f3 commit cbd17ac

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,14 +275,14 @@ Language model sampling is non-deterministic. Even at a fixed temperature, provi
275275

276276
Live data moves. News, StockTwits, and Reddit return different content as time passes, so a run today sees different inputs than a run last week even for the same historical trade date. Pin the analysis date to hold the price and indicator window fixed, but the social and news sources still reflect "now".
277277

278-
To reduce variation you can lower the sampling temperature. Set `temperature` in your config (or `TRADINGAGENTS_TEMPERATURE` in `.env`); lower values make models that honor it more repeatable. Reasoning models largely ignore temperature, so for tighter reproducibility pair a low temperature with a non-reasoning model such as `gpt-4.1`.
278+
To reduce variation you can lower the sampling temperature. Set `temperature` in your config (or `TRADINGAGENTS_TEMPERATURE` in `.env`); lower values make models that honor it more repeatable. The current curated models are reasoning-first and largely ignore temperature, so for tighter reproducibility use a non-reasoning model, which you can set explicitly via the Custom model ID option.
279279

280280
```python
281281
config = DEFAULT_CONFIG.copy()
282282
config["llm_provider"] = "openai"
283-
config["deep_think_llm"] = "gpt-4.1" # non-reasoning model honors temperature
284-
config["quick_think_llm"] = "gpt-4.1"
285283
config["temperature"] = 0.0
284+
# Reasoning models ignore temperature. For tighter reproducibility, set a
285+
# non-reasoning deep/quick model explicitly (e.g. via the Custom model ID option).
286286
```
287287

288288
What does not vary anymore: the analyzed company identity is resolved deterministically from the ticker before any agent runs, and the market analyst grounds exact price and indicator claims in a verified data snapshot. Earlier reports of "different companies" or fabricated price levels across runs are addressed by these two mechanisms.

scripts/smoke_structured_output.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131

3232
PROVIDER_DEFAULTS = {
3333
"openai": ("gpt-5.4-mini", None),
34-
"google": ("gemini-2.5-flash", None),
34+
"google": ("gemini-3.5-flash", None),
3535
"anthropic": ("claude-sonnet-4-6", None),
36-
"deepseek": ("deepseek-chat", None),
37-
"qwen": ("qwen-plus", None),
36+
"deepseek": ("deepseek-v4-flash", None),
37+
"qwen": ("qwen3.7-plus", None),
3838
"glm": ("glm-5", None),
39-
"xai": ("grok-4", None),
39+
"xai": ("grok-4.3", None),
4040
}
4141

4242

0 commit comments

Comments
 (0)