From ed5d95f4344251aa4bf6a2bcc1f2f3783a1b6d5a Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 1 Sep 2025 02:41:29 +0400 Subject: [PATCH] refac --- backend/open_webui/config.py | 2 +- backend/open_webui/utils/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index c69ef76c0b..d62b219668 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -313,7 +313,7 @@ JWT_EXPIRES_IN = PersistentConfig( #################################### ENABLE_OAUTH_PERSISTENT_CONFIG = ( - os.environ.get("ENABLE_OAUTH_PERSISTENT_CONFIG", "True").lower() == "true" + os.environ.get("ENABLE_OAUTH_PERSISTENT_CONFIG", "False").lower() == "true" ) ENABLE_OAUTH_SIGNUP = PersistentConfig( diff --git a/backend/open_webui/utils/tools.py b/backend/open_webui/utils/tools.py index 9007f59326..d3ea432019 100644 --- a/backend/open_webui/utils/tools.py +++ b/backend/open_webui/utils/tools.py @@ -123,7 +123,7 @@ async def get_tools( if auth_type == "bearer": headers["Authorization"] = ( - f"Bearer {tool_server_connection.get("key", "")}" + f"Bearer {tool_server_connection.get('key', '')}" ) elif auth_type == "session": headers["Authorization"] = (