nextcloud / integration_openai

OpenAI integration in Nextcloud
GNU Affero General Public License v3.0
49 stars 11 forks source link

Error generating images with LocalAI integrated with Nextcloud AI (CPU only) #117

Closed adripo closed 6 days ago

adripo commented 1 month ago

Which version of integration_openai are you using?

2.0.3

Which version of Nextcloud are you using?

29.0.4

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

No response

Describe the Bug

I am encountering an error while generating images using LocalAI integrated with Nextcloud AI. The error appears in the LocalAI logs as follows:

ERR Server error error="could not load model: rpc error: code = Unknown desc = stat /build/models/stablediffusion: no such file or directory" ip=172.18.1.2 latency=2.004227305s method=POST status=500 url=/v1/images/generations

However, when I use the LocalAI web interface directly, image generation works fine.

Expected Behavior

Image generated with Local AI

To Reproduce

  1. Integrate LocalAI with Nextcloud AI.
  2. Attempt to generate an image through the Nextcloud AI interface.
adripo commented 1 month ago

This seems to be a Nextcloud integration error. The issue was already reported in Local AI repo here: https://github.com/mudler/LocalAI/issues/3017

According to this comment it seems Nextcloud does not call for a model.

kyteinsky commented 6 days ago

Closing this issue since fix was merged in #122