类class
agentscope.app.storageTeamOrigin
class TeamOrigin(BaseModel)
源码Source
agentscope/app/storage/_model/_session.py:70–79团队来源,在多次调用之间保存和恢复会话与记忆数据。位于 agentscope.app.storage 包。
Carries no team id on purpose. Which team a session belongs to is
:attr:SessionRecord.team_id, which every reader already uses and
which a session can also lose — this only records that a team is why
the session exists at all, which nothing could tell before.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
type | Literal['team'] | 类型字段。 | 'team' |
属性详情Attribute Detail
type
Literal['team'] = 'team'类型字段。声明为 Literal['team']。
The type field.
源码Source
agentscope/app/storage/_model/_session.py:79