Uses of Record Class
io.agentscope.harness.agent.gateway.channel.chatui.SendOptions
Packages that use SendOptions
-
Uses of SendOptions in io.agentscope.harness.agent.gateway.channel.chatui
Methods in io.agentscope.harness.agent.gateway.channel.chatui that return SendOptionsModifier and TypeMethodDescriptionstatic SendOptionsExplicit user + session — multiple conversations for the same user.static SendOptionsOne session per user — the most common case.SendOptions.withAgentId(String agentId) Returns a copy with the given agent id override.<T> SendOptionsSendOptions.withAttribute(Class<T> type, T value) Returns a copy with a typed attribute merged into the carriedRuntimeContext.SendOptions.withAttribute(String key, Object value) Returns a copy with a string attribute merged into the carriedRuntimeContext.SendOptions.withRuntimeContext(io.agentscope.core.agent.RuntimeContext runtimeContext) Returns a copy that carries the givenRuntimeContextinto the agent turn.Methods in io.agentscope.harness.agent.gateway.channel.chatui with parameters of type SendOptionsModifier and TypeMethodDescriptionreactor.core.publisher.Mono<io.agentscope.core.message.Msg>ChatUiChannel.send(SendOptions options, io.agentscope.core.message.Msg message) Sends a pre-builtMsgwith explicit routing identity.reactor.core.publisher.Mono<io.agentscope.core.message.Msg>ChatUiChannel.send(SendOptions options, String text) Sends a plain-text message with explicit routing identity.reactor.core.publisher.Mono<io.agentscope.core.message.Msg>ChatUiChannel.send(SendOptions options, List<io.agentscope.core.message.Msg> messages) Sends one or more pre-builtMsgs with explicit routing identity.reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent>ChatUiChannel.sendStream(SendOptions options, io.agentscope.core.message.Msg message) Streaming variant ofChatUiChannel.send(SendOptions, Msg).reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent>ChatUiChannel.sendStream(SendOptions options, String text) Streaming variant ofChatUiChannel.send(SendOptions, String).reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent>ChatUiChannel.sendStream(SendOptions options, List<io.agentscope.core.message.Msg> messages) Streaming variant ofChatUiChannel.send(SendOptions, List).