Sonu313131 commited on
Commit
29504f0
·
verified ·
1 Parent(s): d3385e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ async def run_and_submit_all(profile: gr.OAuthProfile | None):
23
  agent = ToolCallingAgent(
24
  tools=[search_tool],
25
  model=OpenAIServerModel(
26
- model_id="gpt-o4-mini", # ✅ valid OpenAI model name
27
  api_key=os.environ["OPENAI_API_KEY"] # ✅ securely load from environment
28
  ),
29
  max_steps=20,
 
23
  agent = ToolCallingAgent(
24
  tools=[search_tool],
25
  model=OpenAIServerModel(
26
+ model_id="gpt-4.1", # ✅ valid OpenAI model name
27
  api_key=os.environ["OPENAI_API_KEY"] # ✅ securely load from environment
28
  ),
29
  max_steps=20,