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

Add stream option to text generation task #32

Merged
merged 3 commits into from
Aug 22, 2023
Merged

Add stream option to text generation task #32

merged 3 commits into from
Aug 22, 2023

Conversation

jonatanklosko
Copy link
Member

kino_bbb_stream.mov

Copy link
Contributor

@josevalim josevalim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should always stream, no option. Thoughts?

@jonatanklosko
Copy link
Member Author

They may want to do either in an actual application, so this way we have an example of both. I don't have a strong preference though, your call!

@josevalim
Copy link
Contributor

I would go with the simpler UI and simpler code. They can remove the option if they feel adventurous. :)

@@ -126,8 +126,52 @@ export async function init(ctx, payload) {
`,
};

const BaseSwitch = {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm gonna keep this, since we will use it in the future. In particular for #18.

@jonatanklosko jonatanklosko merged commit 852e4a8 into main Aug 22, 2023
1 check passed
@jonatanklosko jonatanklosko deleted the jk-stream branch August 22, 2023 20:52
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.

2 participants