Uses of Record Class
io.agentscope.harness.agent.gateway.MsgContext
Packages that use MsgContext
-
Uses of MsgContext in io.agentscope.harness.agent.gateway
Methods in io.agentscope.harness.agent.gateway that return MsgContextModifier and TypeMethodDescriptionstatic MsgContextMsgContext.defaultContext()Default single-conversation context (no channel metadata, no userId).MsgContext.withUserId(String userId) Returns a copy of this context with the givenuserIdset.Methods in io.agentscope.harness.agent.gateway with parameters of type MsgContextModifier and TypeMethodDescriptiondefault reactor.core.publisher.Mono<io.agentscope.core.message.Msg> Gateway.run(MsgContext context, io.agentscope.core.message.Msg message) Single-message convenience.reactor.core.publisher.Mono<io.agentscope.core.message.Msg> Gateway.run(MsgContext context, List<io.agentscope.core.message.Msg> messages) Inbound turn (direct API or channel adapter).default reactor.core.publisher.Mono<io.agentscope.core.message.Msg> Gateway.run(MsgContext context, List<io.agentscope.core.message.Msg> messages, OutboundAddress outboundAddress) Inbound turn with outbound address.reactor.core.publisher.Mono<io.agentscope.core.message.Msg> HarnessGateway.run(MsgContext context, List<io.agentscope.core.message.Msg> messages) reactor.core.publisher.Mono<io.agentscope.core.message.Msg> HarnessGateway.run(MsgContext context, List<io.agentscope.core.message.Msg> messages, OutboundAddress outboundAddress) default reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent> Gateway.runStream(MsgContext context, List<io.agentscope.core.message.Msg> messages) Streaming variant ofGateway.run(MsgContext, List).default reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent> Gateway.runStream(MsgContext context, List<io.agentscope.core.message.Msg> messages, OutboundAddress outboundAddress) Streaming variant ofGateway.run(MsgContext, List, OutboundAddress).reactor.core.publisher.Flux<io.agentscope.core.event.AgentEvent> HarnessGateway.runStream(MsgContext context, List<io.agentscope.core.message.Msg> messages, OutboundAddress outboundAddress) -
Uses of MsgContext in io.agentscope.harness.agent.gateway.channel
Methods in io.agentscope.harness.agent.gateway.channel that return MsgContextModifier and TypeMethodDescriptionRouteResult.context()Returns the value of thecontextrecord component.Constructors in io.agentscope.harness.agent.gateway.channel with parameters of type MsgContextModifierConstructorDescriptionRouteResult(String agentId, MsgContext context, String matchedBy, OutboundAddress outboundAddress) Creates an instance of aRouteResultrecord class.