fix: 修复配置文件路径和报表合并逻辑
This commit is contained in:
parent
229d3585ba
commit
c7baaa8514
|
|
@ -64,6 +64,7 @@ func (d *DingBotService) runBackgroundTasks(ctx context.Context, data *chatbot.B
|
|||
g.Go(func() error {
|
||||
defer func() {
|
||||
// 确保通道最终关闭
|
||||
log.Println("流式处理协程关闭")
|
||||
close(resChan)
|
||||
}()
|
||||
return d.dingTalkBotBiz.HandleStreamRes(ctx, data, resChan)
|
||||
|
|
|
|||
Loading…
Reference in New Issue