-
Notifications
You must be signed in to change notification settings - Fork 5
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
LocalAI API endpoint not working #129
Comments
|
I confirm there is also something wrong on my Local-ai setup with Nextcloud. Everything works fine when is using the GUI from Local-AI, or even a curl API command : results come really fast (1-2 second, I have 2x GPU with CUDA enabled) But when querying through the assistant the answer takes a very long time (usually at least 2-3 minutes). I had a look on a Local-AI with Debug enabled, and meanwhile Local-AI does... nothing. It just waits... and at some points return the answer really quickly. I had a look to the Nextcloud Assistant page, and I can also see this 417 answer doing nothing, and finally gets a 200 answer (the top "new_message" is when the Chat Button is pressed to send the message) |
I forgot to mention my versions:
|
I found more information about my issue. The "Chat with AI" (and also other AI sections) queries are only processed once every 5 minutes (at 9:00 / 9:05 / 9:10 / ...), that explains the time before getting an answer... which of course is not the expected behavior. Can someone have a look to reproduce? Thank you |
@ctft1 its totally nextcloud or assistant app problem bro, because localAI working perfect and it integrates to any other frameworks with its API without any problem. |
@ctft1 that it get processed faster then the 5 minutes (which is your default cronjob schedule) you need to ALWAYS run:
But i can confirm the Expectation Failed issue |
Which version of assistant are you using?
1.0
Which version of Nextcloud are you using?
v30
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Firefox and Google Latest
Describe the Bug
I have setting up LocalAI API endpoint working fine, and NextCloud even detect the models list of LocalAI but when I use any of the features to talk with the LLM it doesnt fetch anything, it get the follow error
Expected Behavior
Interact with the LLM normally
To Reproduce
Setup LocalAI, input the URL in AI settings and interact with the AI
The text was updated successfully, but these errors were encountered: