更新依赖项,将commentjson替换为pyjson5;优化README文档,修正项目文档链接;添加聊天平台适配表格以支持不同平台的消息类型。

This commit is contained in:
xming521
2025-06-26 15:10:09 +08:00
parent e9b92aa189
commit b265edf2fc
6 changed files with 34 additions and 16 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import os
import sys
from typing import Any, Dict, cast
import commentjson
import pyjson5
from omegaconf import OmegaConf
from pydantic import BaseModel
@@ -23,7 +23,7 @@ def load_base_config() -> WcConfig:
try:
with open(config_path, "r", encoding="utf-8") as f:
s_config_dict: Dict[str, Any] = commentjson.load(f)
s_config_dict: Dict[str, Any] = pyjson5.load(f)
except FileNotFoundError:
logger.error(f"Configuration file not found: {config_path}")
sys.exit(1)