类class
agentscope.stateTaskContext
class TaskContext(BaseModel)
源码Source
agentscope/state/_state.py:175–179任务上下文。位于 agentscope.state 包。
The task context. Declared in agentscope.state.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
tasks | list[Task] | 任务字段。 | Field(default_factory=lambda: []) |
属性详情Attribute Detail
tasks
list[Task] = Field(default_factory=lambda: [])任务字段。声明为 list[Task]。
The tasks field.
源码Source
agentscope/state/_state.py:178