AS AgentScopeAPI 手册 / API Reference

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
cwdPathcwd(类型 `Path`)。bootstrap working directory (used to resolve relative paths)
entrySkillRepositoryConfigEntry条目(类型 `SkillRepositoryConfigEntry`)。non-null config entry
返回Returns 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
基于官方固定版本源码静态生成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.