升级配置文件读取器

This commit is contained in:
SengokuCola
2025-05-29 21:31:07 +08:00
parent aa75eccea6
commit 1bed1b5335
4 changed files with 533 additions and 86 deletions

View File

@@ -1,5 +1,7 @@
[config]
bot_config_path = "config/bot_config.toml"
bot_config_path = "C:/GitHub/MaiBot-Core/config/bot_config.toml"
env_path = "env.toml"
env_file = "c:\\GitHub\\MaiBot-Core\\.env"
[editor]
window_width = 1000
@@ -72,6 +74,12 @@ description = "是否启用工作记忆处理器,不稳定,消耗量大"
path = "focus_chat_processor.working_memory_processor"
type = "bool"
[[editor.quick_settings.items]]
name = "显示聊天模式"
description = "是否在回复后显示当前聊天模式"
path = "experimental.debug_show_chat_mode"
type = "bool"
[translations.sections.inner]
name = "版本"
description = "麦麦的内部配置,包含版本号等信息。此部分仅供显示,不可编辑。"
@@ -488,6 +496,10 @@ description = "暂时无效"
name = "启用分割器"
description = "是否启用回复分割器"
[translations.items."telemetry.enable"]
name = "启用遥测"
description = "是否发送统计信息,主要是看全球有多少只麦麦"
[translations.items."chinese_typo.enable"]
name = "启用错别字"
description = "是否启用中文错别字生成器"