Skip to content

Conversation

@jamesbaskerville
Copy link
Contributor

@jamesbaskerville jamesbaskerville commented May 9, 2025

Fixes regression to prompts.call streaming. Basically there was a refactor moving logic to raw_client files. In the process the streaming logic was changed and the method now does a yield _sse.data() where _sse.data is actually a string. This results in the enclosing method not actually yielding anything, so our streaming methods were very broken.

Simple hotfix here to remove the calling parens and yield the data string directly.

Confirmed working locally.

@jamesbaskerville
Copy link
Contributor Author

fern bumped python generator and merged that instead

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.

3 participants