类class
agentscope.app.hubSkillArchive
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 |
|---|---|---|---|
format | Literal['zip', 'tar', 'tar.gz'] | 格式字段。 The archive format, as the installer must unpack it. | — |
stream | AsyncIterator[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:22stream
AsyncIterator[bytes]归档字节,in 顺序。
The archive bytes, in order.
源码Source
agentscope/app/hub/_skill/_base.py:23