Skip to content

Don't set default value for max_tokens in the SDK#96

Merged
mkozakov merged 4 commits intomainfrom
max-tokens-optional
Sep 29, 2022
Merged

Don't set default value for max_tokens in the SDK#96
mkozakov merged 4 commits intomainfrom
max-tokens-optional

Conversation

@mkozakov
Copy link
Copy Markdown
Collaborator

Currently if a max_tokens value is not specified in calls to Generate, the SDK defaults to 20. To make this behavior consistent across all the SDKs and the API, we moved this behavior to the backend.

@mkozakov mkozakov requested a review from lfayoux September 10, 2022 02:50
@lfayoux lfayoux force-pushed the max-tokens-optional branch from d7d91eb to f9ca584 Compare September 13, 2022 19:21
@mkozakov mkozakov merged commit 7b37459 into main Sep 29, 2022
@mkozakov mkozakov deleted the max-tokens-optional branch September 29, 2022 23: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