类class
agentscope.messageToolResultState
class ToolResultState(StrEnum)
源码Source
agentscope/message/_block.py:185–192工具结果状态。位于 agentscope.message 包,继承自 StrEnum。
The tool result state. Declared in agentscope.message. Extends StrEnum.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
SUCCESS | — | 成功字段。 | 'success' |
ERROR | — | 错误字段。 | 'error' |
INTERRUPTED | — | INTERRUPTED字段。 | 'interrupted' |
DENIED | — | 已拒绝字段。 | 'denied' |
RUNNING | — | 运行中字段。 | 'running' |
属性详情Attribute Detail
SUCCESS
= 'success'成功字段。
The SUCCESS field.
源码Source
agentscope/message/_block.py:188ERROR
= 'error'错误字段。
The ERROR field.
源码Source
agentscope/message/_block.py:189INTERRUPTED
= 'interrupted'INTERRUPTED字段。
The INTERRUPTED field.
源码Source
agentscope/message/_block.py:190DENIED
= 'denied'已拒绝字段。
The DENIED field.
源码Source
agentscope/message/_block.py:191RUNNING
= 'running'运行中字段。
The RUNNING field.
源码Source
agentscope/message/_block.py:192