Repository navigation
Default exposedTo to an empty sequence - #404
Conversation
|
Are we positive that as a result of #406, we won't end up with something like Unless of course we support WebMCP tools that can be exposed to UA without having naturalLanguageProperties, in which case the exposure mechanism might live outside of nLP anyways, and exposedTo might be a good place for that. I guess that doesn't mean we should block this PR on figuring that out though. Any thoughts on the above before we proceed? |
|
I'm ok landing this. The question of a know to disable UA exposure is still up for debate. we can keep the spec aligned with the implementation for now. |
# Conflicts: # index.bs
|
Will we have a similar PR for fromOrigins? |
Default
exposedToto[]inModelContextRegisterToolOptions(andToolManagerRegisterToolOptionsingeneralized-tool-calling.md) to match Chromium CL 8806158.Omitting
exposedToand passing{ exposedTo: [] }already behave identically, so this removes the redundant existence check inregisterTool()and clarifies the empty-list behavior in thedomintro.Preview | Diff