Azure / Azure/azure-sdk-for-python

o3-deep-research expires without reason

Open
#42,397 3 comments 0 reactions 0 assignees View on GitHub
AI AI Agents customer-reported needs-team-attention question Service Attention
Dominant language
Python
Stars
5.6k
Forks
3.4k
Avg merge
1d 21h
Merged PRs (30d)
193

Description

- **Package Name**: "azure-ai-projects>=1.0.0b12",
- **Package Version**: "azure-ai-projects>=1.0.0b12",
- **Operating System**: Windows 11
- **Python Version**: 3.12

**Describe the bug**
The deep research agent unexpectedly fails sometimes with `run.status` as `expired`. There's no way to extend the expiration period. `run.last_error`, `run.incomplete_details`, `run.expires_at`, `run.cancelled_at`, `run.failed_at` are all blank, so there's no information about the problem so that I can fix it.

**To Reproduce**
Not reproducible; seems to happen if the deep research runs too long. Using the started code give [here](https://learn.microsoft.com/en-us/azure/ai-foundry/agents/how-to/tools/deep-research-samples?pivots=python).

**Expected behavior**
Deep research completed successfully, provides information about why it expired, and ideally, provide a way to avoid the expiration when a long deep research run is expected.

**Screenshots**
N/A

**Additional context**
N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.