diff options
Diffstat (limited to 'src/client/views/nodes/ChatBox/tools/NoTool.ts')
| -rw-r--r-- | src/client/views/nodes/ChatBox/tools/NoTool.ts | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/client/views/nodes/ChatBox/tools/NoTool.ts b/src/client/views/nodes/ChatBox/tools/NoTool.ts deleted file mode 100644 index 1f0830a77..000000000 --- a/src/client/views/nodes/ChatBox/tools/NoTool.ts +++ /dev/null @@ -1,18 +0,0 @@ -// tools/NoTool.ts -import { BaseTool } from './BaseTool'; - -export class NoTool extends BaseTool<{}> { - constructor() { - super( - 'no_tool', - 'Use this when no external tool or action is required to answer the question.', - {}, - 'When using the "no_tool" action, simply provide an empty <action_input> element. The observation will always be "No tool used. Proceed with answering the question."', - 'Use when no external tool or action is required to answer the question.' - ); - } - - async execute(args: {}): Promise<any> { - return [{ type: 'text', text: 'No tool used. Proceed with answering the question.' }]; - } -} |
