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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| callback.py | ||
| chat.py | ||
| message.py | ||
| settings.py | ||
| start.py | ||