Azure / Azure/azure-sdk-for-python

Alternative for 'ResponseStreamEventType' from 'azure.ai.projects.models' is not documented

オープン
#45,964 コメント 6 件 リアクション 1 件 担当者 1 名 @dargilco が担当を希望しています GitHub で見る
AI Projects customer-reported needs-team-attention question Service Attention
主要言語
Python
スター
5.6k
フォーク
3.4k
平均マージ
2日 2時間
マージ済み PR(30日)
213

説明

- **Package Name**: azure-ai-projects
- **Package Version**: 2.0.0b4 and above
- **Operating System**: Windows
- **Python Version**: 3.13.9

**Describe the bug**
The `ResponseStreamEventType` enum is no longer available in `azure.ai.projects.models` using package version 2.0.0b4 or above. This is used to help capture streaming response events from `openai_client.responses.create()` without the need for string literals. This change was not documented in CHANGELOG.md or in Foundry code samples despite the GitHub repo samples being updated.

**To Reproduce**
Steps to reproduce the behavior:
1. Use the sample code from Foundry for workflows OR Attempt to import `ResponseStreamEventType` from `azure.ai.projects.models`
2. Run-time error `Cannot import name 'ResponseStreamEventType' from 'azure.ai.projects.models'`

**Expected behavior**
The package import to exist or for clear breaking change documentation to migrate to string literals in the CHANGELOG.md

**Screenshots**
Official Foundry code samples and documentation say beta4 and above is supported.

Image

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。