Fix /tools-unregister

9c43999e4b3975455e4c73132412baf7df705eed

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/tool-calling.js+1 -1
@@ -947,7 +947,7 @@ export class ToolManager {
947947 enumProvider: toolsEnumProvider,
948948 }),
949949 ],
950950 callback: async (_, name) => {
951951 if (typeof name !== 'string' || !name) {
952952 throw new Error('The unnamed argument must be a non-empty string.');
953953 }