fix: 修复搜索API报错 - 添加缺失的QueryLog导入

This commit is contained in:
2026-04-09 16:52:54 +08:00
parent 8c7a99d83f
commit d54a105e55

View File

@@ -13,7 +13,7 @@ from openai import OpenAI
from flask import current_app
from config import LLM_CONFIG, DOC_CONFIG, INDEX_CONFIG
from models import db, Document, DocumentChunk, InvertedIndex, IndexStats
from models import db, Document, DocumentChunk, InvertedIndex, IndexStats, QueryLog
def get_llm_config():