Adding logs and confirmed that that outlet only gets called when using the chat interface on the web, but not via api.
Originally created by @mbeltagy on GitHub (Jan 12, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8498
- [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.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
- [ ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
Filters should have allowed to work with `/api/chat/completions` currently they only seem partially supported.
## Actual Behavior:
Only the `inlet` method gets called, but not the `outlet`. This was in the context of monitoring tool that I am using to track and control usage: https://github.com/VariantConst/OpenWebUI-Monitor/issues/23
## Description
The filter code in question is https://github.com/VariantConst/OpenWebUI-Monitor/blob/main/resources/functions/openwebui_monitor_invisible.py
Adding logs and confirmed that that `outlet` only gets called when using the chat interface on the web, but not via api.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @mbeltagy on GitHub (Jan 12, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8498
Expected Behavior:
Filters should have allowed to work with
/api/chat/completionscurrently they only seem partially supported.Actual Behavior:
Only the
inletmethod gets called, but not theoutlet. This was in the context of monitoring tool that I am using to track and control usage: https://github.com/VariantConst/OpenWebUI-Monitor/issues/23Description
The filter code in question is https://github.com/VariantConst/OpenWebUI-Monitor/blob/main/resources/functions/openwebui_monitor_invisible.py
Adding logs and confirmed that that
outletonly gets called when using the chat interface on the web, but not via api.@tjbck commented on GitHub (Jan 12, 2025):
#3237