State
public static final class State
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:51–71状态,承载智能体的部署、调度与服务化运行。位于 io.agentscope.extensions.aistio.adapter 包。核心成员包括 markTerminalCommitted、isTerminalCommitted、submit、take。
Per-dispatch storage; never stored on a shared tool or HarnessAgent instance.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public void markTerminalCommitted() | 执行 `markTerminalCommitted` 方法。 Returns the mark terminal committed. |
public boolean isTerminalCommitted() | 判断是否 `isTerminalCommitted`。 Returns whether the terminal committed. |
public void submit(AgentTaskOutcome outcome) | 设置提交。 Performs the submit operation. |
public AgentTaskOutcome take() | 返回 `take` 结果。 Returns the take. |
方法详情Method Detail
markTerminalCommitted
public void markTerminalCommitted()
执行 markTerminalCommitted 方法。
Returns the mark terminal committed.
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:54–56isTerminalCommitted
public boolean isTerminalCommitted()
判断是否 isTerminalCommitted。
Returns whether the terminal committed.
boolean返回布尔值,表示判断结果。Returns a boolean result.
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:58–60submit
public void submit(AgentTaskOutcome outcome)
设置提交。
Performs the submit operation.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
outcome | AgentTaskOutcome | outcome(类型 `AgentTaskOutcome`)。The outcome. |
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:64–66take
public AgentTaskOutcome take()
返回 take 结果。
Returns the take.
AgentTaskOutcome返回AgentTaskOutcome。Returns agent task outcome.
源码Source
io/agentscope/extensions/aistio/adapter/AgentTaskOutcome.java:68–70