-
Notifications
You must be signed in to change notification settings - Fork 6
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
Token limit ignored #59
Comments
LocalAI is complaining about the size of the input. The I don't know if there is a way to know the input token limit for each available models in LocalAI. In this case we could use that value to check the input even before sending a request. |
I can't even save this setting change e.g. to lower from 1000 "max new tokens" to 200, because a toast pops up saying This seems to occur for any numeric entry on the page e.g. timeout setting. Firefox 125.0.3, Nextcloud 29.0.0, Assistant 1.0.9 |
If you make a request manually with curl or PowerShell and remove " like here:
instead of original
, all works fine.
The problem is clearly in the formation of parameters in the source code. |
Still broken in 29.0.2 |
Which version of assistant are you using?
latest
Which version of Nextcloud are you using?
v28.0.4
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Firefox, Chromium
Describe the Bug
I set
New Token limit
to 10000, later to 1000, this was ignored (OpenAI & LocalAI integration setting)Expected Behavior
Cut off tokens or result in a proper error message, not simply in "Assistant failed"
To Reproduce
Send big file to local AI
The text was updated successfully, but these errors were encountered: