Revert "Refa: make RAGFlow more asynchronous 2 (#11664)"

This reverts commit 627c11c429.
This commit is contained in:
Kevin Hu
2025-12-02 19:34:56 +08:00
committed by GitHub
parent 962bd5f5df
commit cd0216cce3
14 changed files with 292 additions and 622 deletions

View File

@ -462,7 +462,7 @@ async def related_questions():
if "parameter" in gen_conf:
del gen_conf["parameter"]
prompt = load_prompt("related_question")
ans = await chat_mdl.async_chat(
ans = chat_mdl.chat(
prompt,
[
{