fix: 修复搜索API报错 - 添加缺失的QueryLog导入
This commit is contained in:
@@ -13,7 +13,7 @@ from openai import OpenAI
|
|||||||
from flask import current_app
|
from flask import current_app
|
||||||
|
|
||||||
from config import LLM_CONFIG, DOC_CONFIG, INDEX_CONFIG
|
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():
|
def get_llm_config():
|
||||||
|
|||||||
Reference in New Issue
Block a user