mirror of
https://github.com/open-webui/open-webui
synced 2024-11-28 15:05:07 +00:00
refac: pipeline filters
This commit is contained in:
parent
4715160b53
commit
c76330710f
@ -280,7 +280,7 @@ class PipelineMiddleware(BaseHTTPMiddleware):
|
||||
if key != "":
|
||||
headers = {"Authorization": f"Bearer {key}"}
|
||||
r = requests.post(
|
||||
f"{url}/{filter['id']}/filter",
|
||||
f"{url}/{filter['id']}/filter/inlet",
|
||||
headers=headers,
|
||||
json={
|
||||
"user": user,
|
||||
|
Loading…
Reference in New Issue
Block a user