Skip to content

Agent Service Notebook code does not work #82

@v-kyerande

Description

@v-kyerande

Code: https://github.com/Azure/ai-foundry-workshop/blob/main/2-notebooks/2-agent_service/6-agents-az-functions.ipynb

Code snippet:
run = project_client.agents.create_and_process_run(
thread_id=thread.id,
agent_id=agent_id
)

When executing the test agent code, the process gets stuck. The thread is created however the run is not completing with successful status. The run status changes from IN_PROGRESS to REQUIRES_ACTION and this goes in infinite loop.

Since the code does not handle the REQUIRES_ACTION event not how to proceed.

Question:
When does the run status event changes to succeed?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions