Pipeline (inlet / outlet filters) don't work after release 0.5.7 #3998

Closed
opened 2025-11-11 15:44:01 -06:00 by GiteaMirror · 2 comments
Owner

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

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
Author
Owner

@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?

@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?
Author
Owner

@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?

@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?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3998