V2 hide incomplete tools (#4250)

# Description of Changes
Filters out tools which don't exist in All Tools list. Also fixes a
bunch of translation warnings in the log.
This commit is contained in:
James Brunton
2025-08-21 09:26:17 +01:00
committed by GitHub
parent a6706fcb0c
commit a33e51351b
4 changed files with 96 additions and 107 deletions

View File

@@ -48,8 +48,8 @@ export const useToolManagement = (): ToolManagementResult => {
const baseTool = baseRegistry[toolKey as keyof typeof baseRegistry];
availableToolRegistry[toolKey] = {
...baseTool,
name: t(baseTool.name),
description: t(baseTool.description)
name: baseTool.name,
description: baseTool.description,
};
}
});