From 6321331d3a5717974c44481945ec2b80d2b220b2 Mon Sep 17 00:00:00 2001 From: Max Wong Date: Mon, 23 Jun 2025 19:14:51 -0400 Subject: [PATCH] use 'shallow_thinker' instead of hard coded 'gpt-4.1-mini' for model in response --- tradingagents/dataflows/interface.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tradingagents/dataflows/interface.py b/tradingagents/dataflows/interface.py index c53e481a..67b72bbf 100644 --- a/tradingagents/dataflows/interface.py +++ b/tradingagents/dataflows/interface.py @@ -707,7 +707,7 @@ def get_stock_news_openai(ticker, curr_date): client = OpenAI(base_url=config["backend_url"]) response = client.responses.create( - model="gpt-4.1-mini", + model=config["shallow_thinker"], input=[ { "role": "system", @@ -742,7 +742,7 @@ def get_global_news_openai(curr_date): client = OpenAI(base_url=config["backend_url"]) response = client.responses.create( - model="gpt-4.1-mini", + model=config["shallow_thinker"], input=[ { "role": "system", @@ -777,7 +777,7 @@ def get_fundamentals_openai(ticker, curr_date): client = OpenAI(base_url=config["backend_url"]) response = client.responses.create( - model="gpt-4.1-mini", + model=config["shallow_thinker"], input=[ { "role": "system",