fix: Reduce chunk returns in dify and Hundred Refining Runner to every 8 chunks

This commit is contained in:
fdc
2025-08-04 16:39:38 +08:00
committed by Junyan Qin
parent 8adc88a8c0
commit 4a1d033ee9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class DifyServiceAPIRunner(runner.RequestRunner):
stream_output_pending_chunk = ''
batch_pending_max_size = 64 # 积累一定量的消息更新消息一次
batch_pending_max_size = 8 # 积累一定量的消息更新消息一次
batch_pending_index = 0