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.
List<String>返回列出。Returns list.
源码Source
io/agentscope/builder/runtime/config/AgentConfigEntry.java:352–354setAllow
public void setAllow(List<String> allow)
设置 setAllow。
Sets the allow.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
allow | List<String> | allow(类型 `List`)。The allow. |
源码Source
io/agentscope/builder/runtime/config/AgentConfigEntry.java:356–358getDeny
public List<String> getDeny()
获取拒绝。
Returns the deny.
List<String>返回列出。Returns list.
源码Source
io/agentscope/builder/runtime/config/AgentConfigEntry.java:360–362setDeny
public void setDeny(List<String> deny)
设置拒绝。
Sets the deny.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
deny | List<String> | 拒绝(类型 `List`)。The deny. |
源码Source
io/agentscope/builder/runtime/config/AgentConfigEntry.java:364–366