Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.

Repository from Github https://github.comAzure/azure-sdk-for-pythonRepository from Github https://github.comAzure/azure-sdk-for-python

StreamEventData typing is wrong

eavanvalkenburg opened this issue · comments

  • Package Name: azure-ai-projects
  • Package Version: 1.1.0b4
  • Operating System: macos
  • Python Version: 3.11

Describe the bug
A clear and concise description of what the bug is.
the union type:
StreamEventData = Union["MessageDeltaChunk", "ThreadMessage", ThreadRun, RunStep, str]
is missing RunStepDeltaChunk

To Reproduce
Steps to reproduce the behavior:
1.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @dargilco @glharper @howieleung @jhakulin @nick863 @trangevi.

@eavanvalkenburg what version of azure-ai-agents do you have installed?

@dargilco 1.2.0b4 (I think)

@eavanvalkenburg You are right. We should have added RunStepDeltaChunk to the Union type. Could you show me how you are using StreamEventData? I feel that it should be an internal class. I am thinking if I should fix in beta only.

It has been release to the new beta 5.