Procházet zdrojové kódy

fix(mcp): clarify debug oauth probe (#34350)

Aiden Cline před 1 měsícem
rodič
revize
92025e9a47
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/opencode/src/cli/cmd/mcp.ts

+ 1 - 1
packages/opencode/src/cli/cmd/mcp.ts

@@ -761,7 +761,7 @@ export const McpDebugCommand = effectCmd({
         }
 
         if (response.status === 401) {
-          prompts.log.warn("Server returned 401 Unauthorized")
+          prompts.log.info("Initial unauthenticated check returned 401, so this server requires OAuth")
 
           // Try to discover OAuth metadata
           const oauthConfig = typeof serverConfig.oauth === "object" ? serverConfig.oauth : undefined