SkillRepositorySupport
public final class SkillRepositorySupport
源码Source
io/agentscope/harness/coding/config/SkillRepositorySupport.java:26–107构建AgentSkillRepository来自SkillRepositoryConfigEntry。位于 io.agentscope.harness.coding.config 包。核心成员包括 create。
Builds an AgentSkillRepository from SkillRepositoryConfigEntry.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static AgentSkillRepository create(Path cwd, SkillRepositoryConfigEntry entry)static | 创建并返回实例。 Creates and returns an instance. |
方法详情Method Detail
create
public static AgentSkillRepository create(Path cwd, SkillRepositoryConfigEntry entry)
static
创建并返回实例。
Creates and returns an instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
cwd | Path | cwd(类型 `Path`)。bootstrap working directory (used to resolve relative paths) |
entry | SkillRepositoryConfigEntry | 条目(类型 `SkillRepositoryConfigEntry`)。non-null config entry |
AgentSkillRepository返回AgentSkillRepository。repository instance, or `null` if configuration is invalid or optional Git types are not on the classpath
源码Source
io/agentscope/harness/coding/config/SkillRepositorySupport.java:41–58