Skip to content
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

Consume LLM output stream via returned objects to allow caching #384

Merged
merged 3 commits into from
Dec 1, 2024

Conversation

jackmpcollins
Copy link
Owner

Consume any remaining chunks via StreamedStr or output object in OutputStream so that internal caching in these objects can be used.

This removes the need to process StreamedStr immediately when it is received, so I removed the warning from the docs.

@jackmpcollins jackmpcollins self-assigned this Dec 1, 2024
@jackmpcollins jackmpcollins merged commit f7e7e37 into main Dec 1, 2024
1 check passed
@jackmpcollins jackmpcollins deleted the allow-caching-for-output-objs branch December 1, 2024 00:10
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