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:
zhaojie
2026-02-11 00:08:09 +08:00
parent 2026007045
commit c3560b43fd
218 changed files with 3354 additions and 5096 deletions

View File

@@ -15,7 +15,7 @@ from pathlib import Path
# 添加项目根目录到Python路径
sys.path.append(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.models import (
@@ -67,7 +67,8 @@ class DatabaseInitializer:
try:
# 设置日志
setup_logging(Config.LOG_LEVEL, Config.LOG_FILE)
config = get_config()
setup_logging(config.server.log_level, "logs/tsp_assistant.log")
# 测试数据库连接
if not self._test_connection():