AS AgentScopeAPI 手册 / API Reference

SkillsConfig

@JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonIgnoreProperties(ignoreUnknown = true) public static class SkillsConfig
源码Source io/agentscope/builder/runtime/config/AgentConfigEntry.java:340–367

技能配置,保存相关配置项。位于 io.agentscope.builder.runtime.config 包。核心成员包括 getAllow、setAllow、getDeny、setDeny。

A class in io.agentscope.builder.runtime.config that deploys, schedules and serves agents. Declared in io.agentscope.builder.runtime.config.

方法摘要Method Summary

方法Method说明Description
public List<String> getAllow()
获取 `getAllow`。
Returns the allow.
public void setAllow(List<String> allow)
设置 `setAllow`。
Sets the allow.
public List<String> getDeny()
获取拒绝。
Returns the deny.
public void setDeny(List<String> deny)
设置拒绝。
Sets the deny.

方法详情Method Detail

getAllow

public List<String> getAllow()

获取 getAllow。

Returns the allow.

返回Returns List<String>
返回列出。Returns list.
源码Source io/agentscope/builder/runtime/config/AgentConfigEntry.java:352–354

setAllow

public void setAllow(List<String> allow)

设置 setAllow。

Sets the allow.

参数Parameters
名称Name类型Type说明Description
allowList<String>allow(类型 `List`)。The allow.
源码Source io/agentscope/builder/runtime/config/AgentConfigEntry.java:356–358

getDeny

public List<String> getDeny()

获取拒绝。

Returns the deny.

返回Returns List<String>
返回列出。Returns list.
源码Source io/agentscope/builder/runtime/config/AgentConfigEntry.java:360–362

setDeny

public void setDeny(List<String> deny)

设置拒绝。

Sets the deny.

参数Parameters
名称Name类型Type说明Description
denyList<String>拒绝(类型 `List`)。The deny.
源码Source io/agentscope/builder/runtime/config/AgentConfigEntry.java:364–366
基于官方固定版本源码静态生成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.