From 8f90177e97761dab4f88bd65721aacb8029522ca Mon Sep 17 00:00:00 2001 From: Andrew Beal Date: Sat, 28 Feb 2026 14:35:22 +0000 Subject: [PATCH] test: use AITool enum for tool name in Mistral test --- __tests__/AIClasses/Mistral.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/__tests__/AIClasses/Mistral.test.ts b/__tests__/AIClasses/Mistral.test.ts index a6378f4..925a315 100644 --- a/__tests__/AIClasses/Mistral.test.ts +++ b/__tests__/AIClasses/Mistral.test.ts @@ -12,6 +12,7 @@ import { SettingsService } from '../../Services/SettingsService'; import { AIProvider } from '../../Enums/ApiProvider'; import { AbortService } from '../../Services/AbortService'; import { Exception } from '../../Helpers/Exception'; +import { AITool } from 'Enums/AITool'; describe('Mistral', () => { let mistral: Mistral; @@ -919,7 +920,7 @@ describe('Mistral', () => { mistral.userInstruction = 'Instruction'; mistral.aiToolDefinitions = [ { - name: 'search_vault_files', + name: AITool.ReadVaultFiles, description: 'Search files', parameters: { type: 'object',