Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9f73270
refactor(dashboard): productize AI configuration
Soulter Aug 31, 2026
fb8ac21
refactor(dashboard): hide safety mode strategy
Soulter Aug 31, 2026
76bbaa5
refactor(dashboard): clarify built-in AI heading
Soulter Aug 31, 2026
8978d98
refactor(dashboard): simplify AI enable control
Soulter Aug 31, 2026
9a5f835
refactor(dashboard): simplify voice setting labels
Soulter Aug 31, 2026
fb78b1f
refactor(dashboard): clarify tool call output labels
Soulter Aug 31, 2026
36cd90d
refactor(dashboard): streamline configuration toolbar
Soulter Aug 31, 2026
e34deb5
style(dashboard): tighten configuration toolbar spacing
Soulter Aug 31, 2026
bcb374b
style(dashboard): compact configuration toolbar
Soulter Aug 31, 2026
c60887e
style(dashboard): refine configuration workspace layout
Soulter Aug 31, 2026
dfc2dcf
style(dashboard): refine built-in AI heading
Soulter Aug 31, 2026
d89206d
refactor(dashboard): refine AI configuration copy
Soulter Aug 31, 2026
70aec98
refactor(dashboard): remove redundant voice hints
Soulter Aug 31, 2026
c41d421
refactor(dashboard): refine multimedia setting guidance
Soulter Aug 31, 2026
e08dcb5
style(dashboard): align collapsed configuration controls
Soulter Aug 31, 2026
2fc1200
refactor(dashboard): simplify wake prefix label
Soulter Aug 31, 2026
f2226ff
refactor(dashboard): reuse provider selection menu
Soulter Aug 31, 2026
d78c89e
style(dashboard): align configuration search control
Soulter Aug 31, 2026
4b57a6b
refactor(dashboard): clarify AI configuration labels
Soulter Aug 31, 2026
3f2ef79
refactor(dashboard): modernize profile plugin selection
Soulter Aug 31, 2026
c507bf4
style(dashboard): refine provider menu elevation
Soulter Aug 31, 2026
21a025d
fix(dashboard): confirm execution mode changes
Soulter Aug 31, 2026
521ae57
style(dashboard): unify menu panel elevation
Soulter Aug 31, 2026
7181a42
fix(dashboard): enforce unified menu elevation
Soulter Aug 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 20 additions & 13 deletions astrbot/core/config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -3294,6 +3294,7 @@
"agent_runner.config.dify_api_key": {
"description": "API Key",
"type": "string",
"secret": True,
},
"agent_runner.config.dify_api_base": {
"description": "API Base URL",
Expand Down Expand Up @@ -3332,6 +3333,7 @@
"agent_runner.config.coze_api_key": {
"description": "API Key",
"type": "string",
"secret": True,
},
"agent_runner.config.bot_id": {
"description": "Bot ID",
Expand Down Expand Up @@ -3371,6 +3373,7 @@
"agent_runner.config.dashscope_api_key": {
"description": "API Key",
"type": "string",
"secret": True,
},
"agent_runner.config.dashscope_app_id": {
"description": "应用 ID",
Expand Down Expand Up @@ -3419,10 +3422,12 @@
"agent_runner.config.deerflow_api_key": {
"description": "API Key",
"type": "string",
"secret": True,
},
"agent_runner.config.deerflow_auth_header": {
"description": "Authorization Header",
"type": "string",
"secret": True,
},
"agent_runner.config.deerflow_assistant_id": {
"description": "Assistant ID",
Expand Down Expand Up @@ -3468,7 +3473,7 @@
"type": "object",
"items": {
"agent_runner.config.model.provider_id": {
"description": "默认对话模型",
"description": "对话模型",
"type": "string",
"_special": "select_provider",
"hint": "留空时使用第一个模型",
Expand All @@ -3477,7 +3482,7 @@
},
},
"agent_runner.config.model.fallback_provider_ids": {
"description": "回退对话模型列表",
"description": "回退对话模型",
"type": "list",
"items": {"type": "string"},
"_special": "select_providers",
Expand All @@ -3487,23 +3492,23 @@
},
},
"agent_runner.config.model.request_max_retries": {
"description": "请求最大重试次数",
"description": "异常重试次数",
"type": "int",
"hint": "单次模型请求遇到可重试错误时的最大尝试次数。",
"condition": {
"agent_runner.runner_type": "local",
},
},
"provider_settings.default_image_caption_provider_id": {
"description": "默认图片转述模型",
"description": "图片转述模型",
"type": "string",
"_special": "select_provider",
"hint": "留空代表不使用,可用于非多模态模型",
},
"provider_stt_settings.enable": {
"description": "启用语音转文本",
"description": "语音识别",
"type": "bool",
"hint": "STT 总开关",
"hint": "使用语音转文字模型将用户语音转述为文本,方便模型理解。",
},
"provider_stt_settings.provider_id": {
"description": "默认语音转文本模型",
Expand All @@ -3515,9 +3520,9 @@
},
},
"provider_tts_settings.enable": {
"description": "启用文本转语音",
"description": "语音回复",
"type": "bool",
"hint": "TTS 总开关",
"hint": "使用文字转语音模型将文字转为语音回复。",
},
"provider_tts_settings.provider_id": {
"description": "默认文本转语音模型",
Expand All @@ -3538,6 +3543,7 @@
"provider_settings.image_caption_prompt": {
"description": "图片转述提示词",
"type": "text",
"collapsed": True,
},
},
"condition": {
Expand All @@ -3562,6 +3568,7 @@
"agent_runner.config.persona.safety_mode_strategy": {
"description": "健康模式策略",
"type": "string",
"invisible": True,
"options": ["system_prompt"],
"hint": "选择健康模式的实现策略。",
"condition": {
Expand Down Expand Up @@ -4050,16 +4057,16 @@
},
},
"provider_settings.show_tool_use_status": {
"description": "输出函数调用状态",
"description": "输出工具调用信息",
"type": "bool",
"condition": {
"agent_runner.runner_type": "local",
},
},
"provider_settings.show_tool_call_result": {
"description": "输出函数调用返回结果",
"description": "输出工具调用结果",
"type": "bool",
"hint": "仅在输出函数调用状态启用时生效,展示结果前 70 个字符。",
"hint": "仅在输出工具调用信息启用时生效,展示结果前 70 个字符。",
"condition": {
"agent_runner.runner_type": "local",
"provider_settings.show_tool_use_status": True,
Expand Down Expand Up @@ -4107,7 +4114,7 @@
},
},
"provider_settings.wake_prefix": {
"description": "LLM 聊天额外唤醒前缀 ",
"description": "额外唤醒前缀",
"type": "string",
"hint": "如果唤醒前缀为 /, 额外聊天唤醒前缀为 chat,则需要 /chat 才会触发 LLM 请求",
},
Expand Down Expand Up @@ -4541,7 +4548,7 @@
"description": "群聊图片转述模型",
"type": "string",
"_special": "select_provider",
"hint": "用于群聊记录注入上下文的图片理解,与默认图片转述模型分开配置。",
"hint": "用于群聊记录注入上下文的图片理解,与图片转述模型分开配置。",
"condition": {
"provider_ltm_settings.group_icl_enable": True,
"provider_ltm_settings.image_caption": True,
Expand Down
22 changes: 17 additions & 5 deletions dashboard/src/assets/mdi-subset/materialdesignicons-subset.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Auto-generated MDI subset – 269 icons */
/* Auto-generated MDI subset – 272 icons */
/* Do not edit manually. Run: pnpm run subset-icons */

@font-face {
Expand Down Expand Up @@ -96,6 +96,10 @@
content: "\F19B2";
}

.mdi-auto-fix::before {
content: "\F0068";
}

.mdi-backup-restore::before {
content: "\F006F";
}
Expand Down Expand Up @@ -544,10 +548,6 @@
content: "\F02D1";
}

.mdi-help-circle::before {
content: "\F02D7";
}

.mdi-help-circle-outline::before {
content: "\F0625";
}
Expand Down Expand Up @@ -680,6 +680,10 @@
content: "\F0349";
}

.mdi-magnify-close::before {
content: "\F0980";
}

.mdi-memory::before {
content: "\F035B";
}
Expand Down Expand Up @@ -888,6 +892,10 @@
content: "\F16A7";
}

.mdi-robot-off-outline::before {
content: "\F167B";
}

.mdi-robot-outline::before {
content: "\F167A";
}
Expand Down Expand Up @@ -984,6 +992,10 @@
content: "\F0721";
}

.mdi-swap-horizontal::before {
content: "\F04E1";
}

.mdi-sync::before {
content: "\F04E6";
}
Expand Down
Binary file not shown.
Binary file not shown.
Loading
Loading