Skip to content

Trying to use minimax fails #39

Closed
Closed

Description

@viraptor

When I try to use minimax M2.1, I get an exception in the terminal, but a silent fail in the UI.
The model is visible in the list and I chose it through the UI.

The model runs just fine when I use opencode directly.

Console logs:

[dev:backend] [2025-12-30T08:49:51.304Z] [INFO] OpenCode server is healthy
[dev:backend] [2025-12-30T08:49:51.768Z] [INFO] OpenCode version: 1.0.207
[dev:backend] [2025-12-30T08:49:51.768Z] [INFO] OpenCode server running on port 5551
[dev:backend] [2025-12-30T08:49:51.771Z] [INFO] 🚀 OpenCode WebUI API running on http://0.0.0.0:5001
[dev:backend] 906 |     const provider = s.providers[providerID]
[dev:backend] 907 |     if (!provider) {
[dev:backend] 908 |       const availableProviders = Object.keys(s.providers)
[dev:backend] 909 |       const matches = fuzzysort.go(providerID, availableProviders, { limit: 3, threshold: -10000 })
[dev:backend] 910 |       const suggestions = matches.map((m) => m.target)
[dev:backend] 911 |       throw new ModelNotFoundError({ providerID, modelID, suggestions })
[dev:backend]                   ^
[dev:backend] ProviderModelNotFoundError: ProviderModelNotFoundError
[dev:backend]  data: {
[dev:backend]   providerID: "minimax",
[dev:backend]   modelID: "MiniMax-M2.1",
[dev:backend]   suggestions: [],
[dev:backend] },
[dev:backend]
[dev:backend]       at getModel (src/provider/provider.ts:911:13)

Running current master / commit 614c6eb

Activity

  1. chriswritescode-dev commented on Dec 30, 2025

    @chriswritescode-dev
    Owner

    Fixed by commit 4bbb03b

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions