Merge pull request #1124 from MaiM-with-u/dev

保证墨梓柒血压的pr
This commit is contained in:
墨梓柒
2025-07-25 11:20:15 +08:00
committed by GitHub
82 changed files with 3904 additions and 5646 deletions

View File

@@ -36,6 +36,7 @@ from src.config.official_configs import (
LPMMKnowledgeConfig,
RelationshipConfig,
ToolConfig,
VoiceConfig,
DebugConfig,
CustomPromptConfig,
)
@@ -64,7 +65,7 @@ TEMPLATE_DIR = os.path.join(PROJECT_ROOT, "template")
# 考虑到实际上配置文件中的mai_version是不会自动更新的,所以采用硬编码
# 对该字段的更新请严格参照语义化版本规范https://semver.org/lang/zh-CN/
MMC_VERSION = "0.9.0-snapshot.2"
MMC_VERSION = "0.9.1"
@@ -616,7 +617,7 @@ class Config(ConfigBase):
tool: ToolConfig
debug: DebugConfig
custom_prompt: CustomPromptConfig
voice: VoiceConfig
def load_config(config_path: str) -> Config:
"""