You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 71866d8
Browse filesBrowse the repository at this point in the historyBrowse files
WebMCP: ModelContext::registerTool takes an unregistration AbortSignal
This CL removes `ModelContext#unregisterTool()` in favor of a tool
registration design where `registerTool()` takes an `AbortSignal` that
controls the tool's registration lifetime. This matches the final
proposal in [1], which is an improvement over the original proposal of
supplying an identical `ModelContextTool` to `unregisterTool()`, and
performing some kind of value/reference equality matching with the tool
that is already registered.
[1]: webmachinelearning/webmcp#130[email protected], khushalsagar
Bug: 489045948,494350656
Change-Id: I8f66b06b092bf94bab4e1c40b35f9897e34511d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7681371
Reviewed-by: Fr <[email protected]>
Commit-Queue: Dominic Farolino <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1605522}
Copy file name to clipboardExpand all lines: third_party/blink/web_tests/external/wpt/webmcp/imperative/register_tool_invalid_json_schema.https.window.js
0 commit comments