Skip to content

.Net: Fix intermediate message ordering bugs.#12798

Merged
westey-m merged 6 commits into
microsoft:mainfrom
westey-m:intermediatemessage-order-bugfix
Aug 6, 2025
Merged

.Net: Fix intermediate message ordering bugs.#12798
westey-m merged 6 commits into
microsoft:mainfrom
westey-m:intermediatemessage-order-bugfix

Conversation

@westey-m

Copy link
Copy Markdown
Contributor

Motivation and Context

Fixes #12789

Description

  • Reorder message mapping and creation so that they are sent to the caller as soon as available.

Contribution Checklist

@westey-m westey-m requested a review from a team as a code owner July 25, 2025 09:59
@moonbox3 moonbox3 added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel labels Jul 25, 2025
@github-actions github-actions Bot changed the title Fix intermediate message ordering bugs. .Net: Fix intermediate message ordering bugs. Jul 25, 2025
@westey-m westey-m added this pull request to the merge queue Aug 6, 2025
Merged via the queue into microsoft:main with commit d56574f Aug 6, 2025
19 checks passed
@westey-m westey-m deleted the intermediatemessage-order-bugfix branch August 6, 2025 11:03
jcruzmot-te pushed a commit to thousandeyes/aia-semantic-kernel that referenced this pull request Sep 15, 2025
### Motivation and Context

Fixes microsoft#12789

### Description

- Reorder message mapping and creation so that they are sent to the
caller as soon as available.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.Net: Bug: OnIntermediateMessage is invoked after streaming completes for AzureAIAgent, OpenAIAssistant and OpenAIResponseAgent

4 participants