Small fixes (#969)

This commit is contained in:
Dmytro Struk
2025-09-29 01:43:00 -07:00
committed by GitHub
Unverified
parent d6f2c6b3e5
commit 4cd76bf2b0
5 changed files with 53 additions and 29 deletions
@@ -37,7 +37,7 @@ async def main() -> None:
async with ChatAgent(
# passing in the client is optional here, so if you take the agent_id from the portal
# you can use it directly without the two lines above.
chat_client=AzureAIAgentClient(client=client, agent_id=created_agent.id),
chat_client=AzureAIAgentClient(project_client=client, agent_id=created_agent.id),
instructions="You are a helpful weather agent.",
tools=get_weather,
) as agent: