mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
refactor(mcp): trim exposed tool registry
This commit is contained in:
1 parent
5db4b3bf9d
commit
3a2d4e753a
4 files changed
+25
-26
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user