AS AgentScopeAPI 手册 / API Reference
类class agentscope.app.hub

SkillArchive

class SkillArchive(NamedTuple)
源码Source agentscope/app/hub/_skill/_base.py:10–23

技能归档,把智能体接入外部消息渠道与企业平台。位于 agentscope.app.hub 包,继承自 NamedTuple。

The format travels with the bytes so a hub can forward its upstream response untouched — repacking to a fixed format would force every hub to buffer the whole archive.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
formatLiteral['zip', 'tar', 'tar.gz']
格式字段。
The archive format, as the installer must unpack it.
—
streamAsyncIterator[bytes]
归档字节,in 顺序。
The archive bytes, in order.
—

属性详情Attribute Detail

format

Literal['zip', 'tar', 'tar.gz']

格式字段。声明为 Literal['zip', 'tar', 'tar.gz']。

The archive format, as the installer must unpack it.

源码Source agentscope/app/hub/_skill/_base.py:22

stream

AsyncIterator[bytes]

归档字节,in 顺序。

The archive bytes, in order.

源码Source agentscope/app/hub/_skill/_base.py:23
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.