You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which version of integration_openai are you using?
2.0.0 (as indicated in info.xml)
Which version of Nextcloud are you using?
Nextcloud 8 (29.0.0)
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Firefox 125.0.3 & Chrome 124.0.6367.93
Describe the Bug
In the NextCloud settings under the "Connected accounts" group, attempts to modify the field "Max new tokens per request" result in an error message. The error is: "Failed to save OpenAI admin options: Invalid type for key: max_tokens. Expected integer, got string".
This error displays no matter what value I try to put, even when it's strictly numeric.
The issue is encountered in both FireFox and Chrome browsers, on desktop (x64) and Android platforms.
Updating the field should result in a confirmation that the numeric value has been accepted.
To Reproduce
Log into NextCloud. Browse to the Admin Settings. Select the "Connected accounts" panel. Type in a numeric value for the field "Max new tokens per request". The error will display.
The text was updated successfully, but these errors were encountered:
Came here to report same finding. I have my LLM being detected in the connected accounts section, but the Assistant fails to generate anything. I'm wondering if its because of this default token limit?
Updating the parameter works fine from the command line:
# occ config:app:set integration_openai request_timeout --value 2500
Config value 'request_timeout' for app 'integration_openai' is now set to '2500', stored as mixed in fast cache
But I don't know what the stored in mixed in fast cache means.
Version of integration_openai 2.0.1
Nextcloud version Nextcloud 28.0.4
Browser version: Firefox 126.0 for Linux Mint
Same error for me displaying: "Failed to save OpenAI admin options: Invalid type for key: max_tokens. Expected integer, got string" when filling the "Max new tokens per request" box. Prefectly reproducible as shown in terberlo's video. It seems there is no way to make the box accept any kind of input.
Which version of integration_openai are you using?
2.0.0 (as indicated in info.xml)
Which version of Nextcloud are you using?
Nextcloud 8 (29.0.0)
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Firefox 125.0.3 & Chrome 124.0.6367.93
Describe the Bug
In the NextCloud settings under the "Connected accounts" group, attempts to modify the field "Max new tokens per request" result in an error message. The error is: "Failed to save OpenAI admin options: Invalid type for key: max_tokens. Expected integer, got string".
This error displays no matter what value I try to put, even when it's strictly numeric.
The issue is encountered in both FireFox and Chrome browsers, on desktop (x64) and Android platforms.
See attached video of how to reproduce this error:
https://github.com/nextcloud/integration_openai/assets/150498890/c27ece94-31d3-4e0b-a732-44e8746eb812
Expected Behavior
Updating the field should result in a confirmation that the numeric value has been accepted.
To Reproduce
Log into NextCloud. Browse to the Admin Settings. Select the "Connected accounts" panel. Type in a numeric value for the field "Max new tokens per request". The error will display.
The text was updated successfully, but these errors were encountered: