Skip to content

Conversation

@celestial-rose
Copy link

This PR addresses a critical bug in the implementation that caused non-output when streaming responses from models like Llama4 that can return numeric chunks.
The issue stemmed from an inadequate check on incoming stream chunks, which assumed all chunks would have a .length property, leading to errors with non-string data types.

@changeset-bot
Copy link

changeset-bot bot commented Nov 8, 2025

🦋 Changeset detected

Latest commit: 4e7ca23

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
workers-ai-provider Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Updated response handling to support number types.
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.

1 participant