mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-14 05:02:01 -06:00
[GH-ISSUE #10632] regression: filter function: body messages modification in inlet are overruled #70574
Reference in New Issue
Block a user
Originally created by @thiswillbeyourgithub on GitHub (Feb 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10632
Bug Report
Installation Method
docker compose
Environment
Confirmation:
Expected Behavior:
Modification to the body of the message inside an inlet filter function should not be discarded
Actual Behavior:
The filters that modify the body seem to have their modification overruled after the inlet is applied.
Description
Bug Summary:
The filters that modify the body seem to have their modification overruled after the inlet is applied.
Reproduction Details
You tell me the number of messages you see in the chat, to help me debug stuff. I want to know how many system prompt, user messages and asssitant messages there are.This was also confirmed by using my debug filter to inspect the body in an inlet applied after the turn limiter.
Additional Information
I think this is a regression.
Note
Initially mentioned here
edit: i'm not able to reproduice it anymore. I have a hunch this is something deepeer that makes it non deterministic.
@arneschreuder commented on GitHub (Feb 25, 2025):
Thank you for this. I also had this issue. I will check if it works a little bit later today.