github / github/app

[Bugs] Error: Execution failed: Error: Failed to get response from the AI model; ret...

Open
#792 0 comments 0 reactions 0 assignees View on GitHub
Bugs
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

**Mood:** 😔
**Category:** Bugs

Error: Execution failed: Error: Failed to get response from the AI model; retried 5 times (total retry wait time: 6.29 seconds) Last error: Error: The attached image or document is too large to send natively through CAPI Responses. Try a smaller attachment or fewer attachments. (5.2 MB request; 5.0 MB limit)

I'm using Pro+ but always seeing this error

---
| Field | Value |
| --- | --- |
| App version | 0.2.24 |
| OS | macOS 26.4.1 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 2 (Week 1) |

Contributor guide

Open the contributing guide

Research direction

Start in the /chat flow and reproduce the failure with an attachment that makes the request exceed the stated 5.0 MB CAPI Responses limit. Then identify where this error is surfaced; the issue names no file, test, or expected behavior, so confirm whether the fix should validate attachments or improve error handling before coding.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
ai, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.