Refine agent config schema and prompt file loading

This commit is contained in:
lpf
2026-03-06 13:56:38 +08:00
parent 1fec90643b
commit 2bc71870db
16 changed files with 483 additions and 250 deletions

View File

@@ -370,14 +370,15 @@ const resources = {
keep_recent_messages: 'Keep Recent Messages',
max_summary_chars: 'Max Summary Chars',
max_transcript_chars: 'Max Transcript Chars',
runtime_control: 'Runtime Control',
execution: 'Execution',
summary_policy: 'Summary Policy',
policy: 'Policy',
intent_max_input_chars: 'Intent Max Input Chars',
autolearn_max_rounds_without_user: 'Autolearn Max Rounds Without User',
max_rounds_without_user: 'Max Rounds Without User',
run_state_ttl_seconds: 'Run State TTL (Seconds)',
run_state_max: 'Run State Max',
tool_parallel_safe_names: 'Tool Parallel Safe Names',
tool_max_parallel_calls: 'Tool Max Parallel Calls',
system_summary: 'System Summary',
marker: 'Summary Marker',
completed_prefix: 'Completed Prefix',
changes_prefix: 'Changes Prefix',
@@ -795,14 +796,15 @@ const resources = {
keep_recent_messages: '保留最近消息数',
max_summary_chars: '摘要最大字符数',
max_transcript_chars: '转录最大字符数',
runtime_control: '运行时控制',
execution: '执行控制',
summary_policy: '摘要策略',
policy: '策略',
intent_max_input_chars: '意图输入最大字符数',
autolearn_max_rounds_without_user: '自学习无用户最大轮数',
max_rounds_without_user: '无用户最大轮数',
run_state_ttl_seconds: '运行状态 TTL',
run_state_max: '运行状态上限',
tool_parallel_safe_names: '工具并行安全名单',
tool_max_parallel_calls: '工具最大并行调用数',
system_summary: '系统摘要',
marker: '摘要标记',
completed_prefix: '完成前缀',
changes_prefix: '变更前缀',