liumaolin commited on
Commit
bbf79f2
·
1 Parent(s): fb2e3d6

更新用户配置文件,修复logger导入路径以确保正确加载日志记录功能。

Browse files
src/voice_dialogue/config/user_config.py CHANGED
@@ -2,9 +2,9 @@
2
  import json
3
  from typing import Dict, Optional
4
 
 
5
  from .llm_config import CHINESE_SYSTEM_PROMPT, ENGLISH_SYSTEM_PROMPT
6
  from .paths import USER_PROMPTS_PATH
7
- from ..utils.logger import logger
8
 
9
  # 内存缓存,避免重复读取文件
10
  _user_prompts_cache: Optional[Dict[str, str]] = None
 
2
  import json
3
  from typing import Dict, Optional
4
 
5
+ from voice_dialogue.utils.logger import logger
6
  from .llm_config import CHINESE_SYSTEM_PROMPT, ENGLISH_SYSTEM_PROMPT
7
  from .paths import USER_PROMPTS_PATH
 
8
 
9
  # 内存缓存,避免重复读取文件
10
  _user_prompts_cache: Optional[Dict[str, str]] = None