Skip to content

Minimax use fails #40

Closed
Closed

Description

@viraptor

Unfortunately #39 has not been fully fixed.
I got the question for the api key and the logs say it worked:

[dev:backend] [2025-12-30T22:22:54.505Z] [INFO] Set credentials for provider: minimax

But when I send any prompt, the result is again:

[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)
[dev:backend]

Activity

  1. viraptor commented on Dec 30, 2025

    @viraptor
    Author

    If I put the key in MINIMAX_API_KEY env var, this works. So somehow the key set through the UI does not propagate properly.

  2. added a commit that references this issue on Jan 1, 2026
    c071eb4
  3. added a commit that references this issue on Jan 1, 2026
    c267bce
  4. added a commit that references this issue on Oct 1, 2026
    24e3801
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