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.
@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.