main
zc 1 month ago
parent fcbb33e8c5
commit 36b60606c6
  1. 2
      app/api/chat/ai/chat_router.py

@ -221,7 +221,7 @@ async def _handle_chat_request(
await asyncio.sleep(0.5) await asyncio.sleep(0.5)
full_response = "" full_response = ""
# 处理快捷问题 # 处理快捷问题
question_content = questions question_content = questions.strip('"')
#每次输出随机1-10个字符 #每次输出随机1-10个字符
chunk_size = random.randint(5, 15) chunk_size = random.randint(5, 15)
for i in range(0, len(question_content), chunk_size): for i in range(0, len(question_content), chunk_size):

Loading…
Cancel
Save