feat: Introduce Wiki Fixer agent and related functionalities
- Added a new built-in agent, "Wiki Fixer," designed to repair and optimize Wiki pages based on linter issues, with multilingual support for enhanced accessibility. - Implemented a corresponding system prompt detailing the agent's role, mission, and workflow for effective issue resolution. - Introduced new API functions for listing and updating wiki issues, allowing for better management of content conflicts and errors. - Enhanced the frontend with new UI elements to display pending issues and facilitate auto-fixing, improving user interaction with the Wiki content. These changes significantly enhance the agent's capabilities for maintaining the accuracy and quality of Wiki pages, fostering a more reliable knowledge base.
This commit is contained in:
@@ -1638,6 +1638,27 @@ export default {
|
||||
hideArrows: 'Hide arrows',
|
||||
healthCheck: 'Health Check',
|
||||
queueStatus: '{count} pending tasks in Wiki queue',
|
||||
issueTitle: 'This page has {count} pending knowledge conflicts or errors',
|
||||
issueFixBtn: 'AI Auto-Fix',
|
||||
issueMixed: 'Mixed Info',
|
||||
issueConflict: 'Factual Conflict',
|
||||
issueOutdated: 'Outdated',
|
||||
issueAttention: 'Needs Attention',
|
||||
issueReportedBy: 'Reported by {reporter}',
|
||||
issueAiLinter: 'AI Linter',
|
||||
issueIgnore: 'Ignore False Alarm',
|
||||
globalIssuesTitle: 'Global Pending Content Issues',
|
||||
globalIssuesCount: '{count} Pending Content Issues',
|
||||
globalIssuesEmpty: 'No pending content issues',
|
||||
issuePagePrefix: 'Page: ',
|
||||
issueGoFix: 'Go to fix',
|
||||
fixAssistantTitle: 'Wiki Smart Fix Assistant',
|
||||
issueFixSuggestions: 'Content Optimization Suggestions ({count})',
|
||||
issueFixSingle: 'Fix',
|
||||
fixStartError: 'Failed to start fix assistant',
|
||||
issueFixPromptSingle: 'Please help me fix the following issue on page [[{slug}]]:\n\n- [{type}] {desc}\n\nOnce resolved, please call the `wiki_update_issue` tool to mark this issue (ID: {id}) as resolved.',
|
||||
issueFixPromptAutoStart: 'Please help me fix all pending issues on page [[{slug}]]:',
|
||||
issueFixPromptAutoEnd: 'Once resolved, please call the `wiki_update_issue` tool to mark these issues as resolved.',
|
||||
},
|
||||
buttons: {
|
||||
create: 'Create Knowledge Base',
|
||||
|
||||
Reference in New Issue
Block a user