mirror of
https://github.com/andy-stack/vaultkeeper-ai.git
synced 2026-07-22 06:42:03 +00:00
test: use AITool enum for tool name in Mistral test
This commit is contained in:
parent
f8eef3798e
commit
8f90177e97
1 changed files with 2 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue