Skip to content

Conversation

@dirkbrnd
Copy link
Contributor

@dirkbrnd dirkbrnd commented Nov 4, 2025

Summary

This fixes issues with assigning streaming values to the assistant message object.

Fixes #5298

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Improvement
  • Model update
  • Other:

Checklist

  • Code complies with style guidelines
  • Ran format/validation scripts (./scripts/format.sh and ./scripts/validate.sh)
  • Self-review completed
  • Documentation updated (comments, docstrings)
  • Examples and guides: Relevant cookbook examples have been included or updated (if applicable)
  • Tested in clean environment
  • Tests added/updated (if applicable)

Additional Notes

Add any important context (deployment instructions, screenshots, security considerations, etc.)

@dirkbrnd dirkbrnd requested a review from a team as a code owner November 4, 2025 15:48
@dirkbrnd dirkbrnd merged commit 773dfd8 into main Nov 4, 2025
5 checks passed
@dirkbrnd dirkbrnd deleted the fix/model-response branch November 4, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] UnboundLocalError in base.py (model_response uninitialized) during async streaming with Uvicorn

5 participants