المهارات والوكلاء الفرعيون

الحساب والحاسوب

نفس الاسم يمكن أن يوجد في مكانين. الحساب هو الفائز، الكتابة دائماً يذهب إلى الحساب، و عنصر حاسوب تغير على ذلك الحاسوب.

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.

لماذا هناك اثنان على الإطلاق

الحسابالحاسوب
&يليإلى أي جهازالآلـ
مُمَرَّر(ي 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() and remove() act on the account. Saving a name that also exists on the disk makes the account's version the one that applies, from then on, everywhere.

جاري قراءة حاسوب مُحِز مُدخلات

readFile() مهارة حسابية تحمل ملفاتها معه، ونفس النداء يخدم كلاهما - الوكيل skill { name, file } لا أعرف الفرق أيضاً

حيث لا يوجد قرص

على هاتف أو سحابة مجال عمل عمل لا يوجد مصدر حاسوبي، لذا libraryStatus في نص "none" وفقط عناصر الحساب متاحة. هذه هي الحالة العادية لأي شيء يعمل على الخادم بدلاً من آلة المطور.