File tree Expand file tree Collapse file tree
38-vanilla-agent-mcp-tools/vanilla_agent_mcp_tools Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ async def execution_loop() -> (
266266 # Use streaming for the final response WITHOUT function calling
267267 try :
268268 async for event in await client .chat .completions .create (
269- model = "gpt-4o " ,
269+ model = "gpt-4 " ,
270270 messages = openai_messages ,
271271 stream = True ,
272272 # Don't pass functions here to prevent another tool call
@@ -283,7 +283,7 @@ async def execution_loop() -> (
283283 # Use non-streaming for function calls
284284 try :
285285 response = await client .chat .completions .create (
286- model = "gpt-4o " ,
286+ model = "gpt-4.1 " ,
287287 messages = openai_messages ,
288288 functions = functions ,
289289 stream = False ,
@@ -342,7 +342,7 @@ async def execution_loop() -> (
342342 # Regular streaming without function calls
343343 try :
344344 async for event in await client .chat .completions .create (
345- model = "gpt-4o " ,
345+ model = "gpt-4 " ,
346346 messages = openai_messages ,
347347 stream = True ,
348348 ):
You can’t perform that action at this time.
0 commit comments