AS AgentScopeAPI 手册 / API Reference

Approve

record Approve(String reviewerId, List<String> targetEnvironments, Instant decidedAt) implements PromotionDecision
源码Source io/agentscope/harness/agent/skill/curator/SkillPromotionGate.java:52–53

承载 Approve数据的记录类型。位于 io.agentscope.harness.agent.skill.curator 包,实现 PromotionDecision。核心成员包括 reviewerId、targetEnvironments、decidedAt。

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
reviewerIdString
执行 `reviewerId` 方法。
Performs the reviewer id operation.
targetEnvironmentsList<String>
执行目标环境相关操作。
Performs the target environments operation.
decidedAtInstant
执行 `decidedAt` 方法。
Performs the decided at operation.

记录组件详情Record Component Detail

reviewerId

String reviewerId

执行 reviewerId 方法。

Performs the reviewer id operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillPromotionGate.java:52–53

targetEnvironments

List<String> targetEnvironments

执行目标环境相关操作。

Performs the target environments operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillPromotionGate.java:52–53

decidedAt

Instant decidedAt

执行 decidedAt 方法。

Performs the decided at operation.

源码Source io/agentscope/harness/agent/skill/curator/SkillPromotionGate.java:52–53
基于官方固定版本源码静态生成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.