-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add Open-webui Pipelines #1784
Comments
Hi was this merged already in v1.0.40? I updated the app today, but the Pipelines still do not work either out-of-the-box or with adding the address manually. Output is same as screenshots above. Pipelines is needed for function calls, amongst other things it's the only way to connect open-webui with Anthropic API |
Yes it should be there. But re-reading the issue linked, the extra host is not really needed. What's the actual requirement here, is the |
Re-opening as enhancement to add that extra container. |
I read about the extra container and running the open-webui in docker didn't require additional container. I migrated from docker install to Scale and the pipelines stopped working which is how I discovered about the extra address. So it confuses me why would it need extra container suddenly. Thank you for your work on fixing the issue! |
This is docker-compose I ran it with in vm, pipelines were working as Claude was last model I used and Pipelines are needed to import the json function file to make anthropic api available.
the address seems to exist in the container, but it doesn;t function as OAI endpoint
I'm too inexperienced to check for the port, but trying to add it into the app as in original post results in same error message. I'm not trying to be confrontational, just genuinely wondering as the above docker-compose everything worked and in scale it doesn't. edit: if it matters I use the -gpu image in Scale, I have P400 in it and thought open-webui could utilize it for the internal embedding model if I use the -gpu image |
I really don't know how it all works. I just go by the docs. https://docs.openwebui.com/pipelines/ Maybe you have run the additional container on the VM before so it was able to connect? |
I'm not really sure myself, maybe the :main image includes it? When I try to import the function for anthropic from here: https://openwebui.com/f/ncks024/anthropic_balaxxe_cot
and googling that address and port gave me the thread here: open-webui/open-webui#3206 So yes, sorry for being confusing (story of my life) I am trying to import a function, which doesn't work and while googling the error I discovered it depends on the Pipelines. But I am not trying to use pipeline, I am trying to import Function, but it seems all interconnected somehow |
Well You can check if its a container with |
let me spin the container back up on the vm and I'll check |
The confusion continues. Then I restored the whole directory along with data and the function is there (as I imported it on the 3rd of March) and I can use Claude. But trying to import another function again doesn't work and spits error in browser console:
So at this point I'm not sure if it's broken at open-webui side or what (they update quite often) All I'm trying to do is migrate open-webui to truenas, while being able to use Anthropic API. If I restore my old instance on vm where the function is already imported it works, but I'm unable to import a function into new install. Perhaps the issue is in actuality that the Functions import is broken, I dunno. I would still be thankful if you'd include an option to run https://github.com/open-webui/pipelines alongside the main container when creating the app. If not I don;t mind spinning it up as custom app. for completion's sake these all the containers I run on the vm (I could not have had run the pipelines container as today is the first time I heard about it, until this point I assumed it's part of :main image):
edit: I think the pipelines are needed because most of the functions I try are tagged [function][pipe], but then for the love of god how was I able to import the function 4 days ago? |
I created a pipelines custom app in truenas, open-webui detected it immediately without having to add the address manually, so as enhancement it is imho still viable Seems my problem wasn't actually related to pipelines and is a recent-ish one (open-webui/open-webui#8716). Creating the function manually and pasting the code in actually creates the function. |
Okay I've looked into adding it as "bundled in" container that you could enable with a toggle. I believe this might be worth adding as a standalone app, and users can connect it manually anyway. |
Semi-blocked by open-webui/pipelines#309 |
open-webui expects
http://host.docker.internal:9099
(that is not alliteration it expects that literal string as host) exposed as oai endpoint internally with api key of0p3n-w3bu!
for the Pipelines functionality (more at open-webui/open-webui#3206), it comes from this in their docker-compose.yml:or this from docker command argument
--add-host=host.docker.internal:host-gateway
However it does not work when open-webui runs as Scale app.


It works as expected without the extra configuration running with docker-compose on different host.
The text was updated successfully, but these errors were encountered: