ai-agents-for-beginners
ai-agents-for-beginners copied to clipboard
TypeError in `create_and_process_run` - Missing `agent_id` argument
Describe the bug
Encountered a TypeError when calling the create_and_process_run method of the AgentsOperations class. The error message clearly states: AgentsOperations.create_and_process_run() missing 1 required keyword-only argument: 'agent_id'.
To Reproduce
The issue occurs in the 02 - azureaiagent.ipynb notebook, specifically in the cell executing the following code:
run = project_client.agents.create_and_process_run(
thread_id=thread.id,
assistant_id=agent.id
)
Screenshots
👋 Thanks for contributing @indcoder! We will review the issue and get back to you soon.