mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Small fixes (#969)
This commit is contained in:
committed by
GitHub
Unverified
parent
d6f2c6b3e5
commit
4cd76bf2b0
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user