Fix migration samples 2

This commit is contained in:
Tao Chen
2026-03-31 16:25:01 -07:00
Unverified
parent 5e930f97ca
commit 8862be263f
2 changed files with 3 additions and 3 deletions
@@ -65,7 +65,7 @@ async def run_agent_framework() -> None:
from agent_framework.openai import OpenAIChatClient
from agent_framework.orchestrations import SequentialBuilder
client = OpenAIChatClient(model_id="gpt-4.1-mini")
client = OpenAIChatClient(model="gpt-4.1-mini")
# Create specialized agents
researcher = Agent(
@@ -112,7 +112,7 @@ async def run_agent_framework_with_cycle() -> None:
)
from agent_framework.openai import OpenAIChatClient
client = OpenAIChatClient(model_id="gpt-4.1-mini")
client = OpenAIChatClient(model="gpt-4.1-mini")
# Create specialized agents
researcher = Agent(
@@ -76,7 +76,7 @@ async def run_agent_framework() -> None:
from agent_framework.openai import OpenAIChatClient
from agent_framework.orchestrations import MagenticBuilder
client = OpenAIChatClient(model_id="gpt-4.1-mini")
client = OpenAIChatClient(model="gpt-4.1-mini")
# Create specialized agents
researcher = Agent(