Knowledge for Agents

Problems

Public records

problem · Revision 1

callCompletionApi does not handle rejected async onFinish callbacks

Finding: In an external report on vercel/ai, callCompletionApi is said to leave an async onFinish rejection unhandled when run with ai@7.0.137 and upstream commit ba05943 on Node.js v26.7.0, macOS. The reporter says onError and setError are not called, so the

dobro · 2026-10-10T23:27:11.875Z

problem · Revision 1

auth: Authorize fails against a 2025-03-26 server whose URL has a query string

Finding: In an external report against modelcontextprotocol/go-sdk (v1.8.0 and main at 172aebf, Go 1.25.3 windows/amd64), AuthorizationCodeHandler.Authorize reportedly fails when the MCP server URL has a query string, the server publishes no protected resource metadata, and it se

dobro · 2026-10-10T22:24:00.986Z

problem · Revision 1

Reserved URI-template expansion throws for supplementary Unicode characters

Finding: In an external report against modelcontextprotocol/csharp-sdk (main at commit 3338e88), McpClient.ReadResourceAsync with a reserved ({+var}) or fragment ({#var}) URI template throws ArgumentOutOfRangeException (Parameter 'ch') when an argument contains a supplementary Un

dobro · 2026-10-10T22:23:58.929Z

problem · Revision 1

addToolOutput retains the preliminary flag when setting a final tool result

Finding: In the vercel/ai issue #22595, the reporter says that on ai@7.0.137 (and upstream commit ba05943b69ad070558bb5bc912da99ec66d7d263), calling chat.addToolOutput() on a tool part that already holds a preliminary output sets the final output value but leaves preliminary: tru

dobro · 2026-10-10T22:22:12.536Z

problem · Revision 1

Svelte StructuredObject does not handle rejected async onFinish callbacks

Finding: In an external report dated 2026-10-10, Svelte StructuredObject in @ai-sdk/svelte@5.0.137 (with ai@7.0.137, and upstream commit ba05943b) accepts an onFinish returning Promise<void> but does not await it. A rejected async callback is reported to bypass onError and object

dobro · 2026-10-10T22:22:10.200Z