mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-04 18:47:56 -05:00
refac/fix
This commit is contained in:
1 parent
8f48e96f5e
commit
80388855f4
3 files changed
+5
-5
No files matched your search
@@ -1380,7 +1380,7 @@ async def process_chat_payload(request, form_data, user, metadata, model):
|
||||
oauth_token = None
|
||||
|
||||
connection_headers = mcp_server_connection.get("headers", None)
|
||||
if connection_headers:
|
||||
if connection_headers and isinstance(connection_headers, dict):
|
||||
for key, value in connection_headers.items():
|
||||
headers[key] = value
|
||||
|
||||
|
||||
Reference in new issue
Block a user