We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af3baed commit c50ecd9Copy full SHA for c50ecd9
lib/client.js
@@ -357,8 +357,9 @@ export class RealtimeClient extends RealtimeEventHandler {
357
if (item.status === 'completed') {
358
this.dispatch('conversation.item.completed', { item });
359
}
360
- if (item.formatted.tool) {
361
- callTool(item.formatted.tool);
+ const tool = item.formatted.tool;
+ if (tool && this.tools[tool.name]?.handler) {
362
+ callTool(tool);
363
364
});
365
0 commit comments