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 3837c1c commit 4837a9aCopy full SHA for 4837a9a
packages/core/src/tool/index.ts
@@ -70,7 +70,7 @@ export class Tool {
70
this.toolMap.delete(name)
71
return true
72
}
73
- throw new Error('禁用失败,不存在名为 ${tool} 的工具')
+ throw new Error(`禁用失败,不存在名为 ${tool} 的工具`)
74
75
76
@action
@@ -81,7 +81,7 @@ export class Tool {
81
this.disabledToolMap.delete(name)
82
83
84
- throw new Error('不存在名为 ${tool} 的工具')
+ throw new Error(`不存在名为 ${tool} 的工具`)
85
86
87
getTools() {
0 commit comments