ToolCallState
public enum ToolCallState
源码Source
io/agentscope/core/message/ToolCallState.java:20–41定义工具调用状态的枚举。位于 io.agentscope.core.message 包。核心成员包括 getValue、PENDING、ASKING、ALLOWED、SUBMITTED、FINISHED。
A enum in io.agentscope.core.message that defines enum values used when components carries structured messages and events between agents, models and UIs. Declared in io.agentscope.core.message.
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
PENDING | 执行待处理相关操作。 Performs the PENDING operation. |
ASKING | 执行 `ASKING` 方法。 Performs the ASKING operation. |
ALLOWED | 执行已允许相关操作。 Performs the ALLOWED operation. |
SUBMITTED | 执行 `SUBMITTED` 方法。 Performs the SUBMITTED operation. |
FINISHED | 执行 `FINISHED` 方法。 Performs the FINISHED operation. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getValue() | 获取值。 Returns the value. |
枚举常量详情Enum Constant Detail
PENDING
PENDING("pending")
staticfinal
执行待处理相关操作。
Performs the PENDING operation.
源码Source
io/agentscope/core/message/ToolCallState.java:21ASKING
ASKING("asking")
staticfinal
执行 ASKING 方法。
Performs the ASKING operation.
源码Source
io/agentscope/core/message/ToolCallState.java:23ALLOWED
ALLOWED("allowed")
staticfinal
执行已允许相关操作。
Performs the ALLOWED operation.
源码Source
io/agentscope/core/message/ToolCallState.java:25SUBMITTED
SUBMITTED("submitted")
staticfinal
执行 SUBMITTED 方法。
Performs the SUBMITTED operation.
源码Source
io/agentscope/core/message/ToolCallState.java:27FINISHED
FINISHED("finished")
staticfinal
执行 FINISHED 方法。
Performs the FINISHED operation.
源码Source
io/agentscope/core/message/ToolCallState.java:29方法详情Method Detail
getValue
public String getValue()
获取值。
Returns the value.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/core/message/ToolCallState.java:37–40