Class RemoteSubagentStub
java.lang.Object
io.agentscope.core.agent.AgentBase
io.agentscope.harness.agent.subagent.RemoteSubagentStub
- All Implemented Interfaces:
io.agentscope.core.agent.Agent,io.agentscope.core.agent.CallableAgent,io.agentscope.core.agent.ObservableAgent,io.agentscope.core.agent.StreamableAgent
public final class RemoteSubagentStub
extends io.agentscope.core.agent.AgentBase
Placeholder
Agent for remote
subagents. Execution is delegated to a remote task HTTP server; this instance is only used for
registry bookkeeping and should not receive synchronous invokeAgent calls in normal
async flows.-
Field Summary
Fields inherited from class io.agentscope.core.agent.AgentBase
CALL_SCOPE_KEY, RUNTIME_CONTEXT_KEY, SHUTDOWN_REQUEST_ID_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<io.agentscope.core.message.Msg>protected reactor.core.publisher.Mono<io.agentscope.core.message.Msg>handleInterrupt(io.agentscope.core.interruption.InterruptContext context, io.agentscope.core.message.Msg... originalArgs) Methods inherited from class io.agentscope.core.agent.AgentBase
addHook, addSystemHook, afterAgentExecution, beforeAgentExecution, call, call, call, callInternal, callSerializationKey, checkInterruptedAsync, consumeSystemMsgAfterPreCall, doCall, doCall, doObserve, getAgentId, getAgentState, getDescription, getHooks, getInterruptFlag, getInterruptSource, getName, getSortedHooks, getSubscriberCount, hasSubscribers, interrupt, interrupt, interrupt, interruptRunning, isCheckRunning, observe, observe, removeHook, removeSubscribers, removeSystemHook, resetInterruptFlag, resetSubscribers, runLifecycle, seedSystemMsg, stateForCall, stream, stream, stream, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.agentscope.core.agent.Agent
getToolkitMethods inherited from interface io.agentscope.core.agent.CallableAgent
call, call, call, call, call, call, call, call, call, callMethods inherited from interface io.agentscope.core.agent.StreamableAgent
stream, stream, stream, stream, stream, stream, stream, stream, stream
-
Constructor Details
-
RemoteSubagentStub
-
-
Method Details
-
doCall
protected reactor.core.publisher.Mono<io.agentscope.core.message.Msg> doCall(List<io.agentscope.core.message.Msg> msgs) - Specified by:
doCallin classio.agentscope.core.agent.AgentBase
-
handleInterrupt
protected reactor.core.publisher.Mono<io.agentscope.core.message.Msg> handleInterrupt(io.agentscope.core.interruption.InterruptContext context, io.agentscope.core.message.Msg... originalArgs) - Specified by:
handleInterruptin classio.agentscope.core.agent.AgentBase
-