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

How to set the max tokens for web ui? #54

Closed
southkorea2013 opened this issue Jul 22, 2024 · 4 comments
Closed

How to set the max tokens for web ui? #54

southkorea2013 opened this issue Jul 22, 2024 · 4 comments

Comments

@southkorea2013
Copy link

Hello,

How to set the max tokens for the web ui?

Thanks,
Nan

@AlexCheema
Copy link
Contributor

Currently this isn’t configurable via the web ui. Just so I understand your use case, do you want to set the max tokens for all requests or per-request?

@southkorea2013
Copy link
Author

Thanks Alex. I want to set the max tokens for all requests.

@itsknk
Copy link
Contributor

itsknk commented Jul 22, 2024

Hey @AlexCheema, do you have any specific UI in mind?

I tried implementing it. It looks like this:

Screenshot 2024-07-22 at 8 36 42 AM

@AlexCheema
Copy link
Contributor

There is now a --max-generate-tokens argument you can pass when starting exo @southkorea2013
Example: python3 main.py --max-generate-tokens 1000

dan-online pushed a commit to bytebolt-media/exo that referenced this issue Aug 28, 2024
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

No branches or pull requests

3 participants