Skip to content

Python: streaming fix for Python: SK 0.5.0 breaks streaming #4925#4928

Merged
moonbox3 merged 1 commit intomicrosoft:mainfrom
eavanvalkenburg:streaming_fix
Feb 8, 2024
Merged

Python: streaming fix for Python: SK 0.5.0 breaks streaming #4925#4928
moonbox3 merged 1 commit intomicrosoft:mainfrom
eavanvalkenburg:streaming_fix

Conversation

@eavanvalkenburg
Copy link
Member

Motivation and Context

Issue was raised that streaming when using chat but not a chat_prompt_template failed because it did not return after doing the branch for non-chat-prompt-template, this fixes that.

Fixes #4925

Description

Contribution Checklist

@eavanvalkenburg eavanvalkenburg requested a review from a team as a code owner February 8, 2024 15:13
@shawncal shawncal added the python Pull requests for the Python Semantic Kernel label Feb 8, 2024
@moonbox3 moonbox3 added this pull request to the merge queue Feb 8, 2024
Merged via the queue into microsoft:main with commit a8233dc Feb 8, 2024
@eavanvalkenburg eavanvalkenburg deleted the streaming_fix branch February 27, 2024 10:51
Bryan-Roe pushed a commit to Bryan-Roe-ai/semantic-kernel that referenced this pull request Oct 6, 2024
…#4925 (microsoft#4928)

### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Issue was raised that streaming when using chat but not a
chat_prompt_template failed because it did not return after doing the
branch for non-chat-prompt-template, this fixes that.

Fixes microsoft#4925 

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

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

- [x] The code builds clean without any errors or warnings
- [x] 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
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests for the Python Semantic Kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python: SK 0.5.0 breaks streaming

4 participants