Defer
record Defer(Duration retryAfter, String reason) implements PromotionDecision
源码Source
io/agentscope/harness/agent/skill/curator/SkillPromotionGate.java:57承载 Defer数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包,实现 PromotionDecision。核心成员包括 retryAfter、reason。
A record in io.agentscope.harness.agent.skill.curator that carries data used when components lets agents invoke external capabilities under control. Declared in io.agentscope.harness.agent.skill.curator. Implements PromotionDecision.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
retryAfter | Duration | 执行重试之后相关操作。 Performs the retry after operation. |
reason | String | 执行推理相关操作。 Performs the reason operation. |
记录组件详情Record Component Detail
retryAfter
Duration retryAfter执行重试之后相关操作。
Performs the retry after operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillPromotionGate.java:57reason
String reason执行推理相关操作。
Performs the reason operation.
源码Source
io/agentscope/harness/agent/skill/curator/SkillPromotionGate.java:57