ai-agents-for-beginners icon indicating copy to clipboard operation
ai-agents-for-beginners copied to clipboard

TypeError in `create_and_process_run` - Missing `agent_id` argument

Open indcoder opened this issue 9 months ago • 1 comments

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

Image

indcoder avatar Apr 02 '25 09:04 indcoder

👋 Thanks for contributing @indcoder! We will review the issue and get back to you soon.

github-actions[bot] avatar Apr 02 '25 09:04 github-actions[bot]