Allow tool registration on swipes

This commit is contained in:
Cohee
2024-10-06 22:25:23 +03:00
parent 6b022e783d
commit 89bad21881
2 changed files with 3 additions and 3 deletions

View File

@ -487,7 +487,7 @@ export class ToolManager {
* @returns {boolean} Whether tool calls can be performed for the given type
*/
static canPerformToolCalls(type) {
const noToolCallTypes = ['swipe', 'impersonate', 'quiet', 'continue'];
const noToolCallTypes = ['impersonate', 'quiet', 'continue'];
const isSupported = ToolManager.isToolCallingSupported();
return isSupported && !noToolCallTypes.includes(type);
}