Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
c7633071
"superbench/benchmarks/vscode:/vscode.git/clone" did not exist on "746255270d727d6043f58f3d8bce7dc89a6abd55"
Commit
c7633071
authored
May 29, 2024
by
Timothy J. Baek
Browse files
refac: pipeline filters
parent
4715160b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/main.py
backend/main.py
+1
-1
No files found.
backend/main.py
View file @
c7633071
...
@@ -280,7 +280,7 @@ class PipelineMiddleware(BaseHTTPMiddleware):
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment