mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 15:54:15 -05:00
Pipeline (inlet / outlet filters) don't work after release 0.5.7 #3998
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @carlo088 on GitHub (Feb 20, 2025).
Installation Method
Both Open WebUI and Pipelines deployed in a K8s cluster
Environment
Open WebUI Version: > v0.5.7
Ollama (if applicable): v0.5.7
Operating System: RedHat
Browser: Edge
Expected Behavior:
I was expecting pipelines inlet and outlet filter to work as in earlier versions
Actual Behavior:
Inlet and outlet filters don't get called, and no logs appear in the pipelines container when the pipeline run logs should appear. Logs appear to be all right when I upload pipelines .py files, but then the filters don't get called at inference time.
Description
Bug Summary:
I have developed a custom inlet and outlet function, but I can't run them anymore. They seem to work if I assign the pipeline to all models (with the *) but it doesn't work when I assign the pipeline to the intended model.
Reproduction Details
Steps to Reproduce:
Create a filter and outlet filter in a pipeline and connect it to a model. Then chat with the model and check the pipeline logs
@Classic298 commented on GitHub (Feb 20, 2025):
Can you provide the code to your filter? Mine work fine. Perhaps yours have some syntax error or something somewhere. Also in one of the previous versions, they changes some dependency names. Did you update your imports accordingly?
@carlo088 commented on GitHub (Feb 20, 2025):
I am 100% sure that the code of my filters is fine, I am using the same exact file (inlet.py and outlet.py) in both prod and dev. On my dev app, pipelines work as expected, while in the prod one they don't. Maybe it's an issue regarding the prod environment?