Expand description
Image input handling for CLI/TUI attachment (task 3.4).
Structs§
- Image
Load Error - Error from loading an image file.
Constants§
- DEFAULT_
MAX_ IMAGE_ BYTES - Default maximum image attachment size: 20 MiB.
Functions§
- detect_
media_ type - Detect media type from file extension.
- load_
image - Load an image file and return an
InputContent::Imagewith bytes source. - load_
image_ with_ limit - Load an image file with an explicit maximum byte limit.