refactor(mcp): trim exposed tool registry

This commit is contained in:
digua committed 2026-05-21 22:38:10 +08:00
1 parent 5db4b3bf9d
commit 3a2d4e753a
4 files changed
+25 -26

No files matched your search

-1
View File
@@ -21,7 +21,6 @@ import { getServerAiLogger } from './logger'
const DEFAULT_MAX_TOOL_RESULT_TOKENS = 8000
const TOOL_TRUNCATION_STRATEGY: Record<string, TruncationStrategy> = {
search_keyword: 'keep_first',
search_messages: 'keep_first',
deep_search_messages: 'keep_first',
get_recent_messages: 'keep_last',