Pārlūkot izejas kodu

fix: discovery url

Timothy Jaeryang Baek 1 nedēļu atpakaļ
vecāks
revīzija
73f32a88e3
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      backend/open_webui/routers/configs.py

+ 1 - 1
backend/open_webui/routers/configs.py

@@ -213,7 +213,7 @@ async def verify_tool_servers_config(
                     )
                     async with aiohttp.ClientSession() as session:
                         async with session.get(
-                            discovery_urls[0]
+                            discovery_url
                         ) as oauth_server_metadata_response:
                             if oauth_server_metadata_response.status == 200:
                                 try: