🌐 AI搜索 & 代理 主页
Skip to content

Commit 6ce742d

Browse files
refactor: Use ToolsetRegistry pattern for DefaultToolsetGroup
Refactor DefaultToolsetGroup to use the new ToolsetRegistry pattern: - Add NewDefaultToolsetRegistry() that creates a registry with all tools - Tools are now self-describing (toolset + read/write from metadata) - No more manual AddReadTools/AddWriteTools categorization - DefaultToolsetGroup uses the registry with ToolsetGroupConfig - Resource templates and prompts handled separately (not tools) This enables scope-aware tool filtering when creating ToolsetGroups.
1 parent 2f0ef4a commit 6ce742d

File tree

1 file changed

+175
-211
lines changed

1 file changed

+175
-211
lines changed

0 commit comments

Comments
 (0)