类 JarSkillRepositoryAdapter

java.lang.Object
io.agentscope.core.skill.repository.ClasspathSkillRepository
io.agentscope.core.skill.util.JarSkillRepositoryAdapter
所有已实现的接口:
AgentSkillRepository, AutoCloseable

@Deprecated public class JarSkillRepositoryAdapter extends ClasspathSkillRepository
已过时。
  • 构造器详细资料

    • JarSkillRepositoryAdapter

      @Deprecated public JarSkillRepositoryAdapter(String resourcePath) throws IOException
      已过时。
      Creates an adapter for loading skills from resources.
      参数:
      resourcePath - The path to the skill under resources, e.g., "writing-skills"
      抛出:
      IOException - if initialization fails
    • JarSkillRepositoryAdapter

      @Deprecated protected JarSkillRepositoryAdapter(String resourcePath, ClassLoader classLoader) throws IOException
      已过时。
      Creates an adapter for loading skills from resources using a specific ClassLoader.
      参数:
      resourcePath - The path to the skill under resources, e.g., "writing-skills"
      classLoader - The ClassLoader to use for loading resources
      抛出:
      IOException - if initialization fails