agentscope-ai / agentscope-ai/agentscope-java

[Bug]:block()/blockFirst()/blockLast() are blocking, which is not supported in thread reactor-http-nio-3

未關閉
#1,117 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
area/core/agent bug
主要語言
Java
星號
5.6k
分支
1.3k
平均合併
4 天 12 小時
30 天內合併 PR
77

描述

源码提供的代码示例中
AutoContextMemory.summaryPreviousRoundConversation方法中
Msg block =
model.stream(newMessages, null, options)
.concatMap(chunk -> processChunk(chunk, context))
.then(Mono.defer(() -> Mono.just(context.buildFinalMessage())))
.block();
这块代码有问题,需要修复下

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。