feat: Introduce agent type presets for smart-reasoning mode
- Added a new configuration file `agent_type_presets.yaml` to define various agent type presets, including RAG Q&A, Wiki Q&A, Hybrid (Wiki + RAG), and Data Analysis. - Updated the `builtin_agents.yaml` to associate built-in agents with the new agent type presets, enhancing their configuration options. - Enhanced the agent system prompt templates to reflect the new agent types and their functionalities. - Implemented API endpoints to retrieve agent type presets, allowing for dynamic loading in the frontend. - Updated the frontend to support agent type selection in the agent editor modal, improving user experience by auto-filling relevant configurations based on selected presets. These changes significantly enhance the flexibility and usability of the agent system, allowing users to easily configure agents based on predefined types.
This commit is contained in:
@@ -67,6 +67,7 @@ builtin_agents:
|
||||
description: "ReAct 추론 프레임워크, 다단계 사고 및 도구 호출 지원"
|
||||
config:
|
||||
agent_mode: "smart-reasoning"
|
||||
agent_type: "custom"
|
||||
system_prompt: ""
|
||||
temperature: 0.7
|
||||
max_completion_tokens: 2048
|
||||
@@ -116,6 +117,7 @@ builtin_agents:
|
||||
description: "CSV/Excel 파일에 대한 SQL 쿼리 및 통계 분석을 지원하는 전문 데이터 분석 에이전트"
|
||||
config:
|
||||
agent_mode: "smart-reasoning"
|
||||
agent_type: "data-analysis"
|
||||
system_prompt_id: "data_analyst"
|
||||
temperature: 0.3
|
||||
max_completion_tokens: 4096
|
||||
@@ -162,6 +164,7 @@ builtin_agents:
|
||||
description: "위키 지식 베이스에서 답변하는 데 특화된 에이전트"
|
||||
config:
|
||||
agent_mode: "smart-reasoning"
|
||||
agent_type: "wiki-qa"
|
||||
system_prompt_id: "wiki_researcher"
|
||||
temperature: 0.7
|
||||
max_completion_tokens: 4096
|
||||
@@ -207,6 +210,7 @@ builtin_agents:
|
||||
description: "검사 문제를 기반으로 Wiki 페이지를 修復하고 最適化하는 전용 에이전트"
|
||||
config:
|
||||
agent_mode: "smart-reasoning"
|
||||
agent_type: "custom"
|
||||
system_prompt_id: "wiki_fixer"
|
||||
temperature: 0.7
|
||||
max_completion_tokens: 4096
|
||||
|
||||
Reference in New Issue
Block a user