Files
coder/docs/reference/api
Tracy Johnson 7b266af992 feat(coderd/x/chatd): add image_too_large error classification and UI highlighting
Adds a new ChatErrorKindImageTooLarge error kind for when users upload
images that exceed the provider's maximum allowed dimensions (e.g.
Anthropic's 2000 pixel limit for multi-image requests).

Backend:
- New ChatErrorKindImageTooLarge constant and classification patterns
- Detects errors containing 'image dimensions exceed' or 'max allowed
  size for many-image' and classifies them as non-retryable
- User-friendly terminal and retry messages explaining the issue and
  how to fix it

Frontend:
- 'Image too large' error title in the status callout
- ConversationTimeline identifies user messages containing image
  attachments when an image_too_large error occurs
- Affected user message bubbles get a red error border highlight
  to guide the user to the message they need to edit
2026-06-02 01:34:07 +00:00
..