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