Skip to content

Commit 4f55ebb

Browse files
committed
4o to 4.1
1 parent 4b8698d commit 4f55ebb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • 38-vanilla-agent-mcp-tools/vanilla_agent_mcp_tools

38-vanilla-agent-mcp-tools/vanilla_agent_mcp_tools/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
):

0 commit comments

Comments
 (0)