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:
wizardchen
2026-04-10 17:56:17 +08:00
parent 3e47376539
commit bd096454e1
29 changed files with 1724 additions and 50 deletions
+51
View File
@@ -186,3 +186,54 @@ builtin_agents:
rerank_top_k: 10
rerank_threshold: 0.3
- id: "builtin-wiki-fixer"
avatar: "🔧"
is_builtin: true
i18n:
default:
name: "Wiki Fixer"
description: "Specialized agent for repairing and optimizing Wiki pages based on linter issues"
zh-CN:
name: "维基修复助手"
description: "专门用于根据巡检问题修复和优化 Wiki 页面的智能体"
zh-TW:
name: "維基修復助手"
description: "專門用於根據巡檢問題修復和優化 Wiki 頁面的智能體"
ja-JP:
name: "Wiki修正アシスタント"
description: "リンターの問題に基づいてWikiページを修復および最適化するための専用エージェント"
ko-KR:
name: "위키 수정 도우미"
description: "린터 문제를 기반으로 Wiki 페이지를 복구하고 최적화하는 전용 에이전트"
config:
agent_mode: "smart-reasoning"
system_prompt_id: "wiki_fixer"
temperature: 0.7
max_completion_tokens: 4096
max_iterations: 30
kb_selection_mode: "selected"
retrieve_kb_only_when_mentioned: false
retain_retrieval_history: true
allowed_tools:
- "thinking"
- "todo_write"
- "wiki_search"
- "wiki_read_page"
- "wiki_read_source_doc"
- "wiki_write_page"
- "wiki_replace_text"
- "wiki_rename_page"
- "wiki_delete_page"
- "wiki_read_issue"
- "wiki_update_issue"
web_search_enabled: false
web_search_max_results: 0
reflection_enabled: false
multi_turn_enabled: true
history_turns: 10
embedding_top_k: 10
keyword_threshold: 0.3
vector_threshold: 0.5
rerank_top_k: 10
rerank_threshold: 0.3