docs: update README and CLAUDE.md to v2.2.0
- Added documentation for audit tracking (IP address, invocation method). - Updated database model descriptions for enhanced WorkOrder and Conversation fields. - Documented the new UnifiedConfig system. - Reflected enhanced logging transparency for knowledge base parsing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ from datetime import datetime, timedelta
|
||||
# 添加项目根目录到Python路径
|
||||
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
from src.config.config import Config
|
||||
from src.config.unified_config import get_config
|
||||
from src.utils.helpers import setup_logging
|
||||
from src.core.database import db_manager
|
||||
from src.core.llm_client import QwenClient
|
||||
@@ -26,7 +26,8 @@ class TSPAssistant:
|
||||
|
||||
def __init__(self):
|
||||
# 设置日志
|
||||
setup_logging(Config.LOG_LEVEL, Config.LOG_FILE)
|
||||
config = get_config()
|
||||
setup_logging(config.server.log_level, "logs/tsp_assistant.log")
|
||||
self.logger = logging.getLogger(__name__)
|
||||
|
||||
# 初始化各个管理器
|
||||
|
||||
Reference in New Issue
Block a user