1 Commits
Author SHA1 Message Date
coder d54a105e55 fix: 修复搜索API报错 - 添加缺失的QueryLog导入 2026-04-09 16:52:54 +08:00
+1 -1
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():