fix:修复reply导致的异常空跳

This commit is contained in:
SengokuCola
2025-07-25 13:45:16 +08:00
parent 3495926f55
commit 5251905744
5 changed files with 21 additions and 109 deletions

View File

@@ -3,10 +3,10 @@ import sys
import os
from typing import Dict, List, Tuple, Optional
from datetime import datetime
from src.common.database.database_model import Messages, ChatStreams
# Add project root to Python path
project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, project_root)
from src.common.database.database_model import Messages, ChatStreams #noqa