fix(MCPService): Tool call failure caused by incorrect tool parameters

This commit is contained in:
karl
2025-04-27 18:06:11 +08:00
committed by 亢奋猫
parent 2e0d315ce4
commit dfd957434c
2 changed files with 8 additions and 1 deletions
@@ -68,7 +68,7 @@ const PipRegistry: Registry[] = [
{ name: '腾讯云', url: 'https://mirrors.cloud.tencent.com/pypi/simple/' }
]
type TabKey = 'settings' | 'tools' | 'prompts' | 'resources'
type TabKey = 'settings' | 'description' | 'tools' | 'prompts' | 'resources'
const parseKeyValueString = (str: string): Record<string, string> => {
const result: Record<string, string> = {}