Agent¶
5 types. Import any of them from opencode.types.
AgentGetResponse
¶
AgentInfo
¶
model
class-attribute
instance-attribute
¶
model: ModelRef | None = Field(
default=None, exclude_if=is_none
)
system
class-attribute
instance-attribute
¶
system: str | None = Field(default=None, exclude_if=is_none)
description
class-attribute
instance-attribute
¶
description: str | None = Field(
default=None, exclude_if=is_none
)
color
class-attribute
instance-attribute
¶
color: AgentColor | None = Field(
default=None, exclude_if=is_none
)