Closed
Description
In 02-explore-agentic-frameworks/code_samples/02-azureaiagent.ipynb
When running the code the user gets an error:
TypeError: AgentsOperations.create_and_process_run() missing 1 required keyword-only argument: 'agent_id'
Need to change the following code from:
# Execute the run
run = project_client.agents.create_and_process_run(
thread_id=thread.id, assistant_id=agent.id)
to
# Execute the run
run = project_client.agents.create_and_process_run(
thread_id=thread.id, agent_id=agent.id)
assistant_id
is an invalid parameter
Thanks and great work!