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

الحوانيتStots

أحد المجالات يقول لماذا المكتبة فارغة: لم يكن هناك مصدر هنا، أو رفض مصدر، وهذا هو رمزها.

{} means both were read"none" is normala code is a refusal
Using Python?

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

await agent.run({ inputs: "…" });

agent.libraryStatus;
// {}                               both read, whatever they returned
// { subagents: "none" }            no source for subagents on this machine
// { skills: "storage_not_local" }  a source was there and refused
agent.run(inputs="…")

# The Python engine has no library_status: it reads the libraries at creation,
# and an unreadable source simply leaves the list empty.
agent.skills, agent.subagents

نوعان من القيمة

القيمةالمعنىعادة
"none"لا يوجد مصدر لهذا النوع هناهاتف أو سحابة مساحة عمل، التي ليس لها قرص، وحساب مع لا شيء محفوظ.
هذامصدر موجود و مرفوضstorage_not_local, storage_not_on_this_machineأو فشل شبكة قراءة الحساب

وقد تم قراءة نوع غائب عن الجسم بنجاح ، بما في ذلك عندما أعاد قائمة فارغة ، مما يعني ببساطة انه لم يتم انقاذ شيء .

سبب وجوده

مكتبة فارغة ومكتبة مرفوضة تبدوان متشابهتين من الخارج

فبدون هذا المجال، يكون الفرق غير مرئي، "وإن الوكيل لا يقوم أبداً بالتفويض" يقرأ كخيار نموذجي وليس كمكتبة لا يمكن قراءتها.

المُمَاَسَه

const problems = Object.entries(agent.libraryStatus).filter(([, value]) => value !== "none");

if (problems.length) {
  console.warn("library unavailable:", problems.map(([kind, code]) => `${kind}: ${code}`).join(", "));
}
if not agent.skills and api.agents.skills.list():
    print("library unavailable: skills exist on the account but this agent has none")

at "none" أولاً هو تشكيل، والثاني هو فشل.

When it is filled

في بداية كل عملية، عندما يتم إعادة قراءة المكتبتين. قبل أول عملية، يكون كائن فارغ، والذي لا يعني أي شيء بعد.