AI_APICallError: messages: at least one message is required #1693

Closed
opened 2026-02-16 17:32:11 -05:00 by yindo · 4 comments
Owner

Originally created by @svanharmelen on GitHub (Sep 12, 2025).

Originally assigned to: @thdxr on GitHub.

I regularly get this error when using the Claud Sonnet 4 model (via GitHub Copilot). Not sure what additional info to provide, so feel free to ask for any details which I will then try to provide.

Originally created by @svanharmelen on GitHub (Sep 12, 2025). Originally assigned to: @thdxr on GitHub. I regularly get this error when using the Claud Sonnet 4 model (via GitHub Copilot). Not sure what additional info to provide, so feel free to ask for any details which I will then try to provide.
yindo closed this issue 2026-02-16 17:32:12 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 12, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #1282: Both involve Claude Sonnet 4 via GitHub Copilot resulting in AI_APICallError, though with different specific error messages (Bad Request vs messages required)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Sep 12, 2025): This issue might be a duplicate of existing issues. Please check: - #1282: Both involve Claude Sonnet 4 via GitHub Copilot resulting in AI_APICallError, though with different specific error messages (Bad Request vs messages required) Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Sep 12, 2025):

can u provide a share link?

@rekram1-node commented on GitHub (Sep 12, 2025): can u provide a share link?
Author
Owner

@thdxr commented on GitHub (Sep 12, 2025):

should be fixed now

@thdxr commented on GitHub (Sep 12, 2025): should be fixed now
Author
Owner

@svanharmelen commented on GitHub (Sep 12, 2025):

Nice, thanks!

@svanharmelen commented on GitHub (Sep 12, 2025): Nice, thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1693