[RAG] 全部LLM硬编码从deepseek-r1改为deepseek-v3;修复知识库问答source格式不匹配导致检索结果被丢弃

This commit is contained in:
2026-04-07 10:32:14 +08:00
parent 4e00a1b15e
commit a5110da4e8
12 changed files with 18 additions and 17 deletions

View File

@@ -72,7 +72,7 @@ async def self_kb_chat(
async def knowledge_base_chat_iterator(
query: str,
model_name: str = LLM_MODELS[0],
model_name1: str = LLM_MODELS[1],
model_name1: str = LLM_MODELS[0],
prompt_name: str = "self_default",
) -> AsyncIterable[str]:
nonlocal fileNames, history