-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
AIClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
- Package Name: azure-ai-agents
- Package Version: 1.1.0b1
- Operating System: Windows 11
- Python Version: 3.13.2
Describe the bug
I am migrating from OpenAI Assistants API to Azure AI Agents and I use AsyncEventHandler to handle the different streaming events.
The sample and the SDK only show the following methods to override (Source)
The Azure OpenAI Assistants API had many more methods (Source) and there are on_xxx_created()
, on_xxx_delta()
, and on_xxx_done()
events to distinguish but this SDK only has on_xxx()
. This is making it very difficult to migrate.
The following methods are missing:
def on_run_step_created(self, run_step: RunStep)
def on_run_step_delta(self, delta: RunStepDelta, snapshot: RunStep) # on_run_step() contains deltas
def on_run_step_done(self, run_step: RunStep)
def on_message_created(self, message: Message)
def on_message_done(self, message: Message)
def on_text_created(self, text: Text)
def on_text_delta(self, delta: TextDelta, snapshot: Text)
def on_text_done(self, text: Text)
def on_image_file_done(self, image_file: ImageFile)
def on_tool_call_created(self, tool_call: ToolCall)
def on_tool_call_delta(self, delta: ToolCallDelta, snapshot: ToolCall)
def on_tool_call_done(self, tool_call: ToolCall)
The following methods don't exist, but should.
def on_reasoning_summary_created(self)
def on_reasoning_summary_delta(self)
def on_reasoning_summary_done(self)
Metadata
Metadata
Assignees
Labels
AIClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that