Skip to content

ProviderModelNotFoundError when using Kimi K2 model in GitHub workflow #3046

Closed as duplicate

Description

@ChristianPerez34

I followed the GitHub app installation instructions
https://opencode.ai/docs/github/ and successfully installed the app using:

opencode github install

Selected configuration:

• Provider: OpenCode Zen
• Model: Kimi K2

The workflow file .github/workflows/opencode.yml was generated and committed. I
also added the OPENCODE_API_KEY secret to the repository settings.

Issue: When commenting /oc summarize on an issue, the workflow fails with:

ProviderModelNotFoundError: ProviderModelNotFoundError data: {
providerID: "opencode",
modelID: "kimi-k2",
}

Expected behavior: The agent should successfully process the command using the
Kimi K2 model.

Activity

  1. github-actions commented on Oct 8, 2025

    @github-actions
    Contributor

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

    The error pattern suggests the issue is with the opencode provider not properly recognizing models in the GitHub Actions environment. Issue #2931 shows the identical error structure and workflow setup.

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

  2. ChristianPerez34 commented on Oct 8, 2025

    @ChristianPerez34
    Author

    This workaround seems to be working for now: #2549 (comment)

  3. rekram1-node commented on Oct 8, 2025

    @rekram1-node
    Contributor

    Closing as duplicate of #2931

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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