AS AgentScopeAPI 手册 / API Reference

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
retryAfterDuration
执行重试之后相关操作。
Performs the retry after operation.
reasonString
执行推理相关操作。
Performs the reason operation.

记录组件详情Record Component Detail

retryAfter

Duration retryAfter

执行重试之后相关操作。

Performs the retry after operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillPromotionGate.java:57

reason

String reason

执行推理相关操作。

Performs the reason operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillPromotionGate.java:57
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.