perf:优化webui交互体验,优化统计逻辑,优化log展示

This commit is contained in:
SengokuCola
2026-05-07 00:05:35 +08:00
parent 1bb6f514e7
commit 5846f6e0c4
41 changed files with 1723 additions and 619 deletions

View File

@@ -55,7 +55,7 @@ BOT_CONFIG_PATH: Path = (CONFIG_DIR / "bot_config.toml").resolve().absolute()
MODEL_CONFIG_PATH: Path = (CONFIG_DIR / "model_config.toml").resolve().absolute()
LEGACY_ENV_PATH: Path = (PROJECT_ROOT / ".env").resolve().absolute()
A_MEMORIX_LEGACY_CONFIG_PATH: Path = (CONFIG_DIR / "a_memorix.toml").resolve().absolute()
MMC_VERSION: str = "1.0.0-pre.11"
MMC_VERSION: str = "1.0.0-pre.13"
CONFIG_VERSION: str = "8.10.9"
MODEL_CONFIG_VERSION: str = "1.15.3"

View File

@@ -93,7 +93,7 @@ class BotConfig(ConfigBase):
"x-icon": "user-circle",
},
)
"""机器人昵称"""
""""""
alias_names: list[str] = Field(
default_factory=lambda: [],
@@ -130,6 +130,7 @@ class PersonalityConfig(ConfigBase):
"x-icon": "user-circle",
"x-textarea-min-height": 40,
"x-textarea-rows": 1,
"x-description-display": "icon",
},
)
"""人格建议200字以内描述人格特质和身份特征可以写完整设定。要求第二人称"""
@@ -146,6 +147,7 @@ class PersonalityConfig(ConfigBase):
"x-icon": "message-square",
"x-textarea-min-height": 40,
"x-textarea-rows": 1,
"x-description-display": "icon",
},
)
"""默认表达风格描述麦麦说话的表达风格表达习惯如要修改可以酌情新增内容建议1-2行"""
@@ -514,6 +516,7 @@ class MessageReceiveConfig(ConfigBase):
json_schema_extra={
"x-widget": "input",
"x-icon": "image",
"advanced": True,
},
)
"""