Skip to content

Fix reordering issue in AzureOpenAiChatModel (Fixes #4155) #4156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

robinmayerhofer
Copy link

Reordering might occur due to Flux::flatMap not having ordering guarantees, flatMapSequential fixes this.
See #4155

I did not update any tests because the reproduction relies on a race condition and it was pretty hard for me to reproduce it locally.

Default PR description

Thank you for taking time to contribute this pull request!
You might have already read the contributor guide, but as a reminder, please make sure to:

  • Add a Signed-off-by line to each commit (git commit -s) per the DCO
  • Rebase your changes on the latest main branch and squash your commits
  • Add/Update unit tests as needed
  • Run a build and make sure all tests pass prior to submission

For more details, please check the contributor guide.
Thank you upfront!

Reordering might occur due to `Flux::flatMap` not having ordering guarantees, `flatMapSequential` fixes this.

Signed-off-by: robinmayerhofer <[email protected]>
@sobychacko sobychacko added this to the 1.1.0.M1 milestone Aug 15, 2025
@sobychacko sobychacko added the bug Something isn't working label Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants