AgentSkill 这个类会被移除吗?
如果后面AgentSkill这个类没有了,那后面怎么自定义构建skill呀。
当前源码已经标记为废弃了:
- @deprecated since 2.0.0. The skill package is removed; manage markdown skill catalogs in
-
application code.
*/ @Deprecated(since = "2.0.0") public class AgentSkill {
但是AgentSkillRepository作为2.0版本的skill核心API,又依赖了它。 从我们后续长期来看,应该怎么使用呀
https://java.agentscope.io/v2/zh/docs/change-log.html#part-b-deprecated-forremoval-true
https://java.agentscope.io/v2/zh/docs/change-log.html#part-b-deprecated-forremoval-true
你好,文档描述说通过AgentSkillRepository注入技能,在目前最新版本2.0.0-RC4 AgentSkillRepository源码中还是在使用AgentSkill做为入参和返回参数,请问后面需要怎么迁移
你好,文档描述说通过AgentSkillRepository注入技能,在目前最新版本2.0.0-RC4 AgentSkillRepository源码中还是在使用AgentSkill做为入参和返回参数,请问后面需要怎么迁移
看内部讨论说是目前 skill 的公共 API 设计的太复杂了,要简化。2.0.x 期间这些 API 仍会保留,2.1 或之后会提供替代方案。
应该会重新吧,现在的技能和Agent之间没有形成对应关系,都是全局的。多智能体场景下,这个无法云端使用。