Groq: Models return error #156

Closed
opened 2026-02-16 17:25:29 -05:00 by yindo · 1 comment
Owner

Originally created by @kazzkiq on GitHub (Jun 19, 2025).

Originally assigned to: @thdxr on GitHub.

When using Groq models, this error is returned:

{
  "message": "Failed to call a function. Please adjust your prompt. See 'failed_generation' for more details.",
  "type": "invalid_request_error"
}

Screenshot:

Image

The prompt was:

Create a sample.txt empty file

The same input works normally with Anthropic models.

Originally created by @kazzkiq on GitHub (Jun 19, 2025). Originally assigned to: @thdxr on GitHub. When using Groq models, this error is returned: ```json { "message": "Failed to call a function. Please adjust your prompt. See 'failed_generation' for more details.", "type": "invalid_request_error" } ``` Screenshot: <img width="713" alt="Image" src="https://github.com/user-attachments/assets/b154e5f6-2d3d-4d5b-9b62-62d36a9fa419" /> ---- The prompt was: ``` Create a sample.txt empty file ``` The same input works normally with Anthropic models.
yindo closed this issue 2026-02-16 17:25:29 -05:00
Author
Owner

@rekram1-node commented on GitHub (Aug 27, 2025):

if you are still having this issue do:

rm -rf ~/.cache/opencode

then restart opencode

@rekram1-node commented on GitHub (Aug 27, 2025): if you are still having this issue do: ``` rm -rf ~/.cache/opencode ``` then restart opencode
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#156