TradingAgents/tradingagents
Charlie Tonneslan a1ee0bd824 Only apply reasoning_effort for o-series OpenAI models
reasoning_effort is only supported by o-series models (o1, o3,
o3-mini, o4-mini). Passing it to gpt-* models causes a 400 error
because those models don't support it on the chat completions
endpoint.

Now we check if the model name starts with 'o' before including
the parameter.

Fixes #403
2026-03-22 12:35:32 -04:00
..
agents fix: handle comma-separated indicators in get_indicators tool 2026-03-15 18:05:36 +00:00
dataflows fix: harden stock data parsing against malformed CSV and NaN values 2026-03-15 18:29:43 +00:00
graph Only apply reasoning_effort for o-series OpenAI models 2026-03-22 12:35:32 -04:00
llm_clients fix: add http_client support for SSL certificate customization 2026-03-16 07:41:20 +08:00
__init__.py chore: update model lists, bump to v0.2.1, fix package build 2026-03-15 23:34:50 +00:00
default_config.py feat: add yfinance support to accommodate community request for stability and quota 2026-02-03 22:27:20 +00:00