mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-20 03:16:14 +00:00
fix: Reduce chunk returns in dify and Hundred Refining Runner to every 8 chunks
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user