mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-05 08:10:30 +00:00
fix: mcp get_discovery_urls
This commit is contained in:
parent
a9a0ce6bea
commit
8eebc2aea6
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ async def verify_tool_servers_config(
|
|||
try:
|
||||
if form_data.type == "mcp":
|
||||
if form_data.auth_type == "oauth_2.1":
|
||||
discovery_urls = get_discovery_urls(form_data.url)
|
||||
discovery_urls = await get_discovery_urls(form_data.url)
|
||||
for discovery_url in discovery_urls:
|
||||
log.debug(
|
||||
f"Trying to fetch OAuth 2.1 discovery document from {discovery_url}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue