main works, cli bugs

This commit is contained in:
Edward Sun
2025-06-15 22:20:59 -07:00
parent 90b23e72f5
commit da84ef43aa
11 changed files with 5577 additions and 50 deletions

View File

@@ -704,10 +704,10 @@ def get_YFin_data(
def get_stock_news_openai(ticker, curr_date):
config = get_config()
client = OpenAI(base_url=config["openai_backend"])
client = OpenAI()
response = client.responses.create(
model=config["quick_think_llm"],
model="gpt-4.1-mini",
input=[
{
"role": "system",
@@ -739,10 +739,10 @@ def get_stock_news_openai(ticker, curr_date):
def get_global_news_openai(curr_date):
config = get_config()
client = OpenAI(base_url=config["openai_backend"])
client = OpenAI()
response = client.responses.create(
model=config["quick_think_llm"],
model="gpt-4.1-mini",
input=[
{
"role": "system",
@@ -774,10 +774,10 @@ def get_global_news_openai(curr_date):
def get_fundamentals_openai(ticker, curr_date):
config = get_config()
client = OpenAI(base_url=config["openai_backend"])
client = OpenAI()
response = client.responses.create(
model=config["quick_think_llm"],
model="gpt-4.1-mini",
input=[
{
"role": "system",