Skip to content

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

@cs0512

Description

@cs0512

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions