-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversation
✅ Deploy Preview for vocal-profiterole-b755d1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
{ | ||
"request": { | ||
"prompt": prompt, | ||
"stream": True, |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gotcha, thanks!
There was a problem hiding this comment.
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.
1a09ba2
to
9e351c9
Compare
Stream currently isn't supported, also add temperature and max tokens.