feat: Add Wiki Researcher agent and system prompt for enhanced knowledge retrieval

- Introduced a new built-in agent, "Wiki Researcher," designed for navigating and answering questions based on Wiki knowledge bases, complete with multilingual support.
- Added a corresponding system prompt that outlines the agent's role, mission, and workflow for effective knowledge graph traversal.
- Updated the agent configuration to include specific tools and parameters tailored for the Wiki Researcher, enhancing its functionality and user interaction.
- Removed deprecated wiki tools from the agent service to streamline the toolset and improve performance.

These changes significantly enhance the capabilities of the agent system, providing users with a specialized tool for in-depth research and information retrieval from Wiki sources.
This commit is contained in:
wizardchen
2026-04-09 21:31:37 +08:00
parent a75233c90f
commit 4715b10642
10 changed files with 191 additions and 362 deletions
+2 -8
View File
@@ -56,10 +56,7 @@ func TestWikiToolConstants(t *testing.T) {
// Verify all wiki tool constants are defined and unique
names := []string{
ToolWikiReadPage,
ToolWikiWritePage,
ToolWikiSearch,
ToolWikiReadIndex,
ToolWikiLint,
}
seen := make(map[string]bool)
@@ -82,11 +79,8 @@ func TestWikiToolConstants(t *testing.T) {
func TestWikiToolsInAvailableDefinitions(t *testing.T) {
defs := AvailableToolDefinitions()
wikiTools := map[string]bool{
ToolWikiReadPage: false,
ToolWikiWritePage: false,
ToolWikiSearch: false,
ToolWikiReadIndex: false,
ToolWikiLint: false,
ToolWikiReadPage: false,
ToolWikiSearch: false,
}
for _, def := range defs {