open-webui icon indicating copy to clipboard operation
open-webui copied to clipboard

Pipelines inlet filter stopped working after open webui version v0.5.7

Open bhdresh opened this issue 9 months ago • 1 comments

Bug Report


Installation Method

Open webui is configured to use pipelines

Environment

  • Open WebUI Version: v0.5.12
  • Pipelines Version: latest
  • Operating System: Ubuntu 20.04

Confirmation:

  • [x] I have read and followed all the instructions provided in the README.md.
  • [x] I am on the latest version of both Open WebUI and Ollama.
  • [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

Pipeline inlet filter to receive message before being sent to LLM.

Actual Behavior:

Pipeline is not receiving user messages after upgrading Open webui version from v0.5.7. Tried on v0.5.8 till v0.5.12.

Description

Bug Summary:

I have configured open-webui with pipelines with a filter for filtering out toxic messages using the Detoxify library (from https://github.com/open-webui/pipelines/blob/main/examples/filters/detoxify_filter_pipeline.py). This filter is working till open webui version v0.5.7. I can see in the "docker logs --follow pipelines" that user messages are being received but it stopped receiving user messages after upgrading open webui version to v0.5.8. I can confirm that filter starts working when I revert the version back to v0.5.7. Issue persist on latest open webui version v0.5.12

Reproduction Details

Steps to Reproduce:

  1. Configure open webui v0.5.7 to user pipelines with a Detoxify filter applied to all pipelines

Image

  1. Test the toxic message filter and its working as expected

Image

  1. Upgrade open webui to latest version with same pipeline configuration

Image

Image

  1. Test the toxic message filter and its not working as expected

Image

No message received on pipelines container when checked using docker logs --follow pipelines

bhdresh avatar Feb 16 '25 20:02 bhdresh

This issue might have been already addressed in dev, testing wanted here.

tjbck avatar Feb 16 '25 21:02 tjbck