feat: Update agent system prompt and tool configuration for enhanced knowledge retrieval
- Added a new constraint to the agent system prompt emphasizing the need for fresh searches and reads for each question, ensuring up-to-date information retrieval. - Updated the agent tool configuration to include `ToolWikiSearch` and `ToolWikiReadPage`, enhancing the agent's capabilities for accessing and utilizing wiki content effectively. These changes improve the agent's performance in providing accurate and current responses based on wiki knowledge.
This commit is contained in:
@@ -333,6 +333,8 @@ var kbToolNames = map[string]bool{
|
||||
agenttools.ToolListKnowledgeChunks: true,
|
||||
agenttools.ToolQueryKnowledgeGraph: true,
|
||||
agenttools.ToolGetDocumentInfo: true,
|
||||
agenttools.ToolWikiSearch: true,
|
||||
agenttools.ToolWikiReadPage: true,
|
||||
}
|
||||
|
||||
// redactHistoryKBResults replaces full KB tool results in historical context
|
||||
|
||||
Reference in New Issue
Block a user