File size: 1,074 Bytes
a992a28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

import { ToolType, ParameterType } from './types';

export const TOOL_TYPES: ToolType[] = Object.values(ToolType);
export const PARAMETER_TYPES: ParameterType[] = Object.values(ParameterType);

export const PARAMETER_TYPE_DESCRIPTIONS: Record<ParameterType, string> = {
  [ParameterType.STRING]: 'Текстовая строка (e.g., "hello world").',
  [ParameterType.INTEGER]: 'Целое число (e.g., 10, -5).',
  [ParameterType.FLOAT]: 'Число с плавающей точкой (e.g., 3.14).',
  [ParameterType.BOOLEAN]: 'Логическое значение (True или False).',
  [ParameterType.LIST]: 'Упорядоченный список элементов (e.g., ["a", "b"]).',
  [ParameterType.DICTIONARY]: 'Словарь пар ключ-значение (e.g., {"key": "value"}).'
};