-
What is your question?When running a docker-compose environment, is there way for a plugin to call a docker service to get an image and have that displayed in chat, even if the image isn't accessible outside of the docker network? More DetailsWe have Librechat running using docker-compose, where there is a service that can return images. Most plugins simply return an accessible URL of the image on a different port, but when we deploy to Azure multicontainer webapps, we only have access to ports 443 where Librachat is already running. So when the service passes back a URL like http://localhost:8888/my_image.png, it isn't displayed in Librechat because port 8888 is closed. The image service can host an image inside the docker network, eg http://image_srvice//my_image.png, which Librechat could access, but it would then need to be displayed by Librechat as an image on port 443 to the outside world. Is there another way to process plugin images perhaps? Thanks! What is the main subject of your question?UI ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I see that Librechat is able to receive image files from assistants, and that we have this bind mount in the suggested dockerfile ...
So if running a plugin in a container which mounts this directory, I could have the plugin save its image there too. If this is a reasonable approach, my question would please be: What details should the plugin - eg URL or file location - so that Librechat displays the image? Thanks! |
Beta Was this translation helpful? Give feedback.
I got this to work doing the following ...
The above means plugin-generated images are available via Librechat nginx's url, which means i…