-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Which version of assistant are you using?
2.11.0
Which version of Nextcloud are you using?
32.0.2
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
143.0.7499.41
Describe the Bug
Image generation via LocalAI with an external provider keeps failing, and I can't figure out why. I believe one issue might be that the options in the Assistant admin settings are confusing, and I'm not even sure if image generation is now on or off – or if there is a bug in the UI (which I suspect).
"Unified task processing" lists Generate Image as enabled:
The "Image Generation" section pretends there's no provider (despite LocalAI being installed and configured):
The "OpenAI and LocalAI integration" lists image generation as enabled and configured:
So which one is true, and why is "Image Generation" shown as not supported?
Text generation / chat works fine, so the model provider (OpenRouter, with its OpenAI-compatible API) is set up correctly.
Expected Behavior
Either the image generation is not configured correctly – then the Assistant should not show "Image Generation" at all.
Or it is configured correctly – then there should be clear notes on whether things are set up correctly or what the actual error is. The Admin UI should then properly show me if it's configured correctly.
It would also be great if there was a testing section in the setup – right now it's very easy to configure wrong models (e.g. set a text model for image generation) and the way to testing is over the Assistant UI and not in the admin settings.
To Reproduce
- Set up LocalAI with OpenAI
- Install Assistant
- Make sure to choose both a text and image model (that have these capabilities)
- Note that the Admin UI will still show "Image Generation: no provider"
- Note that image generation won't work even when model is configured correctly