Prechádzať zdrojové kódy

增加历史对话和查询不到反馈

xueyiming 1 týždeň pred
rodič
commit
595f507ce6
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      routes/buleprint.py

+ 1 - 2
routes/buleprint.py

@@ -396,8 +396,7 @@ async def chat():
     rag_chat_agent = RAGChatAgent()
     chat_result = await rag_chat_agent.chat_with_deepseek(query_text, query_results)
     if chat_result["status"] == 0:
-        study_res = study(query_text)
-        print(study_res)
+        study(query_text)
     llm_search = await rag_chat_agent.llm_search(query_text)
     decision = await rag_chat_agent.make_decision(chat_result, llm_search)
     data = {