Upstream AgentApi responses can return attachment objects that don't implement the Attachment dataclass. _to_core_attachments coerces them via duck-typing so OutgoingMessage always carries typed Attachment instances regardless of the upstream response shape. |
||
|---|---|---|
| .. | ||
| handlers | ||
| auth.py | ||
| chat.py | ||
| handler.py | ||
| protocol.py | ||
| settings.py | ||
| store.py | ||