-
Notifications
You must be signed in to change notification settings - Fork 9
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
Stuck on Thinking... when request send #149
Comments
Watch at [Bug]: No answer from KI in Assistent #142 The answer is always given every 5 minutes e.g. 13.05, 13.10 |
Hi, this is because since NC 30, tasks are running in a background job. So there is a delay, you wait until the next cron.php execution. |
Thank you for the information. Could you clarify if this service implementation affects the integration generally, or is it only relevant in the case of a LocalAI installation? I am encountering this issue specifically with OpenAI, not in a local setup. |
Indeed, with the implementation of the service, OpenAI is working again! Thank you very much for this information! |
There are 2 types of AI providers in NC. The asynchronous and synchronous ones. Usually, providers that are implemented in a classic Php NC app are synchronous (integration_openai, integration_replicate for example). So you need the In your case, it does not matter if you configured integration_openai to use LocalAI or OpenAI's API. The app works the same, it is a synchronous provider. |
One last question, regarding Docker with the Nextcloud image—how can I set up this service? I'm specifying that it's not the AIO image, but the community image. |
You can run the occ command with |
Ok thanks, does the service start indefinitely with the docker run command? Sorry if I don't understand well. |
This occ command will not exit immediately but rather continue living and execute any background job when it sees a new one appear. There's a So the recommended way to run this command is to launch it in a systemd (or equivalent) service with a timeout (stop after param) of a minute or so and to configure the service to restart itself when it stops. So the service restart mechanism is the loop. The service runs the occ command once. The occ command dies after some time, the service restarts etc... Is that a bit clearer? |
Thanks for the infos, very helpfull ! |
Which version of assistant are you using?
2.1.1
Which version of Nextcloud are you using?
30.0.1
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Chrome 129.0.6668.101
Describe the Bug
Hello,
As soon as a request is sent via the Nextcloud assistant, it remains stuck in processing, and I get no response from my request. However, on my OpenAI account, I can see that tokens are indeed being used, as shown in the screenshot.
Thank you in advance for your help.
Expected Behavior
A response
To Reproduce
Open Nextcloud Assistant and use Chat with AI or Text Generation
The text was updated successfully, but these errors were encountered: