use 'shallow_thinker' instead of hard coded 'gpt-4.1-mini' for model in response

This commit is contained in:
Max Wong 2025-06-23 19:14:51 -04:00
parent 0dcab8a7d8
commit 6321331d3a
1 changed files with 3 additions and 3 deletions

View File

@ -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",