Skip to content

Add support for KeepAlive updates in streaming system#56258

Open
wmmihaa wants to merge 1 commit intoAzure:mainfrom
wmmihaa:main
Open

Add support for KeepAlive updates in streaming system#56258
wmmihaa wants to merge 1 commit intoAzure:mainfrom
wmmihaa:main

Conversation

@wmmihaa
Copy link

@wmmihaa wmmihaa commented Feb 13, 2026

Relates to issue #55585 and #55561 where KeepAlive updates are not handled.

Introduced a new KeepAlive update reason to signify active connections during streaming operations. Updated the StreamingUpdateReason enum and its serialization/deserialization logic to handle the new KeepAlive reason.

Modified the StreamingUpdate.FromEvent method to return a KeepAliveUpdate instance when a keep-alive message is received.

Added a new KeepAliveUpdate class to represent keep-alive signals within streaming updates. This class includes a static method to generate keep-alive updates and is fully documented.

Improved code organization and added comments to ensure seamless integration of the KeepAlive update reason into the existing streaming update system.

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

Introduced a new `KeepAlive` update reason to signify active
connections during streaming operations. Updated the
`StreamingUpdateReason` enum and its serialization/deserialization
logic to handle the new `KeepAlive` reason.

Modified the `StreamingUpdate.FromEvent` method to return a
`KeepAliveUpdate` instance when a keep-alive message is received.

Added a new `KeepAliveUpdate` class to represent keep-alive signals
within streaming updates. This class includes a static method to
generate keep-alive updates and is fully documented.

Improved code organization and added comments to ensure seamless
integration of the `KeepAlive` update reason into the existing
streaming update system.
@github-actions github-actions bot added AI Model Inference AI Projects Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Feb 13, 2026
@github-actions
Copy link

Thank you for your contribution @wmmihaa! We will review the pull request and get back to you soon.

@github-actions
Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.AI.Agents.Persistent

@TallesValiatti
Copy link

This issue is also related to the bug
https://github.com/orgs/microsoft-foundry/discussions/318

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Model Inference AI Projects Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments