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

Remove stream parameters for now #126

Merged
merged 3 commits into from
Sep 27, 2023
Merged

Remove stream parameters for now #126

merged 3 commits into from
Sep 27, 2023

Conversation

justin1121
Copy link
Member

Stream currently isn't supported, also add temperature and max tokens.

@netlify
Copy link

netlify bot commented Sep 27, 2023

Deploy Preview for vocal-profiterole-b755d1 ready!

Name Link
🔨 Latest commit 9e351c9
🔍 Latest deploy log https://app.netlify.com/sites/vocal-profiterole-b755d1/deploys/651475a9e2f164000783034f
😎 Deploy Preview https://deploy-preview-126--vocal-profiterole-b755d1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

{
"request": {
"prompt": prompt,
"stream": True,
Copy link
Member

Choose a reason for hiding this comment

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

We are removing the param but forcing it to true here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry, I think my commit message is wrong. We're removing it from allowing the user to set it in the sdk because non-stream isn't supported. i.e. we want to force the sdk to use streaming.

Copy link
Member

Choose a reason for hiding this comment

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

gotcha, thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed up the commit msg.

Non-streaming isn't currently supported so force sdk to use streaming
always. Also add temperature and max tokens.
@justin1121 justin1121 merged commit 7451bbe into main Sep 27, 2023
5 checks passed
@justin1121 justin1121 deleted the justin/remove-stream branch September 27, 2023 18:36
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