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

Update max_tokens attribute to allow unlimited tokens #1982

Merged
merged 2 commits into from
May 27, 2024

Conversation

ogabrielluiz
Copy link
Contributor

This pull request updates the max_tokens attribute in several files to allow for unlimited tokens. Previously, the default value was set to 256, but now it can be set to 0 to indicate unlimited tokens. This change ensures that the maximum number of tokens to generate for each chat completion can be adjusted as needed.
#1920

Copy link

vercel bot commented May 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2024 2:42pm

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label May 27, 2024
@dosubot dosubot bot added the python Pull requests that update Python code label May 27, 2024
@ogabrielluiz ogabrielluiz merged commit 6491496 into dev May 27, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests that update Python code size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant