Spaces:
Configuration error
Configuration error
| 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"}).' | |
| }; | |