perf:优化webui交互体验,优化统计逻辑,优化log展示
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
)
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user