Skip to content

TypeError in create_and_process_run - Missing agent_id argument #135

Closed
@indcoder

Description

@indcoder

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions