mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-06 03:16:08 -04:00
[PR #565] Add filter to limit the length of the input message and the generated output #461
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/pipelines/pull/565
Author: @weese
Created: 9/23/2025
Status: 🔄 Open
Base:
main← Head:feature/message_length_filter_pipeline📝 Commits (5)
01ecf5eadd max-input-length and max-output-token filter9bbb39aincrease default message length853054dgiven response token length also a configurable default649d500silence please0227eab[AIRMS-596] adapt user message📊 Changes
2 files changed (+97 additions, -4 deletions)
View changed files
➕
examples/filters/message_length_filter_pipeline.py(+97 -0)📝
examples/filters/rate_limit_filter_pipeline.py(+0 -4)📄 Description
This pipeline lets you define a limit in the input message length (in chars) and also the generated output (in tokens).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.