diff options
| author | A.J. Shulman <Shulman.aj@gmail.com> | 2024-08-20 18:32:08 -0400 |
|---|---|---|
| committer | A.J. Shulman <Shulman.aj@gmail.com> | 2024-08-20 18:32:08 -0400 |
| commit | 79e4c4a3fba42b90ffa656db3ca435505f978afe (patch) | |
| tree | c1515c97bf88a9e40c95f094c68d7bc0118e0522 /src/client/views/nodes/ChatBox/tools/CalculateTool.ts | |
| parent | 57dcd9e29a9b622493f8a4246545675385223572 (diff) | |
supports multiple inputs
maybe also make it so web results cannot have overlap (no same url in websites returned by search)
Also make sure it will cite multiple websites
Diffstat (limited to 'src/client/views/nodes/ChatBox/tools/CalculateTool.ts')
| -rw-r--r-- | src/client/views/nodes/ChatBox/tools/CalculateTool.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/ChatBox/tools/CalculateTool.ts b/src/client/views/nodes/ChatBox/tools/CalculateTool.ts index 818332c44..74b7ca27b 100644 --- a/src/client/views/nodes/ChatBox/tools/CalculateTool.ts +++ b/src/client/views/nodes/ChatBox/tools/CalculateTool.ts @@ -10,6 +10,7 @@ export class CalculateTool extends BaseTool<{ expression: string }> { type: 'string', description: 'The mathematical expression to evaluate', required: 'true', + max_inputs: '1', }, }, 'Provide a mathematical expression to calculate that would work with JavaScript eval().', |
