agentscope-ai / agentscope-ai/agentscope-java

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

Open
#1,117 2 comments 1 reaction 0 assignees View on GitHub
area/core/agent bug
Dominant language
Java
Stars
5.6k
Forks
1.3k
Avg merge
4d 12h
Merged PRs (30d)
77

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.