File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -251,16 +251,11 @@ The <dfn method for=ModelContext>registerTool(<var>tool</var>)</dfn> method step
251251 <li><p><i> Throws a new {{TypeError}} </i> when the backing "<code> JSON.stringify()</code> "
252252 yields undefined, e.g.,
253253 "<code> inputSchema: { toJSON() {return HTMLDivElement;}}</code> ", or
254- "<code> innputSchema : { toJSON() {return undefined;}}</code> ".</p></li>
254+ "<code> inputSchema : { toJSON() {return undefined;}}</code> ".</p></li>
255255
256256 <li><p><i> Re-throws exceptions</i> thrown by "<code> JSON.stringify()</code> ", e.g., when
257257 "<code> inputSchema</code> " is an object with a circular reference, etc.</p></li>
258258 </ol>
259-
260- <p class="XXX"> Currently, the only implementation of this spec (Chromium) does not throw
261- exceptions in the first case above. And for the second case, Chromium throws new {{TypeError}}
262- exceptions, as opposed to <em> re-throwing</em> the original exception. We <span
263- class=allow-2119> should</span> reconcile this difference.</p>
264259 </div>
265260
2662611. Let |read-only hint| be true if |tool|'s {{ModelContextTool/annotations}} [=map/exists=] , and if
You can’t perform that action at this time.
0 commit comments