类class
agentscope.pipelineTeamMember
class TeamMember(BaseModel)
源码Source
agentscope/pipeline/_team_pipeline.py:37–48团队成员,把复杂任务拆分为可执行步骤并驱动流程。位于 agentscope.pipeline 包。
A member of the team: an existing agent plus the description the leader reads to decide when to assign a task to it. Declared in agentscope.pipeline.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
model_config | — | 模型配置字段。 | ConfigDict(arbitrary_types_allowed=True) |
agent | Agent | 智能体字段。 | — |
description | str | `description` 字段。 | — |
属性详情Attribute Detail
model_config
= ConfigDict(arbitrary_types_allowed=True)模型配置字段。
The model config field.
源码Source
agentscope/pipeline/_team_pipeline.py:41agent
Agent智能体字段。声明为 Agent。
The agent field.
源码Source
agentscope/pipeline/_team_pipeline.py:43description
strdescription 字段。声明为 str。
The description field.
源码Source
agentscope/pipeline/_team_pipeline.py:46