技能与子智能体

账户与计算机

同一名称可以存在于两个地方。 账户的赢项, 写入总是转到账户, 计算机上的项目也会被更改 。

account winswrites go to the accountcomputer is read-only here
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

为什么有两只

Account计算机
后续账户,到任何设备机器
编辑编辑中 中 api.agents.skills.save()通过编辑文件
良好团队分享什么开发者自己在机器上 保存什么
手机或云工作空间可用否 是没有 - 没有磁盘可读取

合并

// account:   legal-review, release-notes
// computer:  release-notes, scratch

await api.agents.skills.list();
// legal-review   source: "account"
// release-notes  source: "account"     ← the computer's copy is hidden
// scratch        source: "computer"
# account:   legal-review, release-notes
# computer:  release-notes, scratch

api.agents.skills.list()
# legal-review   "source": "account"
# release-notes  "source": "account"     ← the computer's copy is hidden
# scratch        "source": "computer"
账户赢赢, 共同教学无法在本地推翻

如果磁盘获胜,一个机器上的破旧文件将悄悄地取代账户分配的内容,而运行过程中没有任何内容能说明应用了哪个。 能够知道哪个副本有效比本地覆盖更值得。

写书

await api.agents.skills.save({
  name: "release-notes",
  description: "Write release notes from a range of commits, in our house format.",
  content: "Group changes under Added, Changed, Fixed…",
});
// Always the account — never the disk.
api.agents.skills.save(
    name="release-notes",
    description="Write release notes from a range of commits, in our house format.",
    content="Group changes under Added, Changed, Fixed…",
)
# Always the account — never the disk.

save() 和 remove() 保存磁盘上也存在的名称, 使账户的版本从那时起, 随处可见。

阅读计算机技能文件

readFile() 计算机上包含技能的额外文件。 账户技能随其文件随同而来, 同一电话既服务于—— 代理 skill { name, file } 也不知道区别。

没有磁盘的

电话或云工作空间没有计算机源,所以 libraryStatus 原文如下: "none" 并且只有账户项目可用。 这是在服务器上运行的正常情况, 而不是开发器上的正常情况 。