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?
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?