style: 调整速度

This commit is contained in:
ccnetcore
2025-06-25 00:35:25 +08:00
parent c69729fadd
commit 4f71d874bd

View File

@@ -110,7 +110,7 @@ public class AiChatService : ApplicationService
// 创建一个队列来缓存消息
var messageQueue = new ConcurrentQueue<string>();
// 设置输出速率例如每50毫秒输出一次
var outputInterval = TimeSpan.FromMilliseconds(80);
var outputInterval = TimeSpan.FromMilliseconds(100);
// 标记是否完成接收
var isComplete = false;
// 启动一个后台任务来消费队列