mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-01 01:39:05 -05:00
refac
This commit is contained in:
@@ -817,7 +817,7 @@ async def process_chat_payload(request, form_data, user, metadata, model):
|
||||
|
||||
oauth_token = None
|
||||
try:
|
||||
oauth_token = await request.app.state.oauth_manager.get_oauth_token(
|
||||
oauth_token = request.app.state.oauth_manager.get_oauth_token(
|
||||
user.id, request.cookies.get("oauth_session_id", None)
|
||||
)
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user