| 8 | |
| 9 | @dataclass |
| 10 | class AstrAgentContext: |
| 11 | __pydantic_config__ = {"arbitrary_types_allowed": True} |
| 12 | |
| 13 | context: Context |
| 14 | """The star context instance""" |
| 15 | event: AstrMessageEvent |
| 16 | """The message event associated with the agent context.""" |
| 17 | extra: dict[str, str] = Field(default_factory=dict) |
| 18 | """Customized extra data.""" |
| 19 | |
| 20 | |
| 21 | AgentContextWrapper = ContextWrapper[AstrAgentContext] |
no outgoing calls
no test coverage detected