Skip to content

Groq: Models return error #222

Closed
Closed

Description

@kazzkiq

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.

Activity

  1. self-assigned this
    on Jun 20, 2025
  2. rekram1-node commented on Aug 27, 2025

    @rekram1-node
    Contributor

    if you are still having this issue do:

    rm -rf ~/.cache/opencode
    

    then restart opencode

  3. added a commit that references this issue on Jan 1, 2026
    894f172
  4. added a commit that references this issue on Apr 7, 2026
  5. added a commit that references this issue on May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions