Skip to content

feat: add updated model support (minimax-m2.5, minimax-m2.1, glm-5, deepseek-3.2, qwen3-coder-next)#81

Closed
igorvelho wants to merge 1 commit into
tickernelz:masterfrom
igorvelho:master
Closed

feat: add updated model support (minimax-m2.5, minimax-m2.1, glm-5, deepseek-3.2, qwen3-coder-next)#81
igorvelho wants to merge 1 commit into
tickernelz:masterfrom
igorvelho:master

Conversation

@igorvelho
Copy link
Copy Markdown

Summary

The MODEL_MAPPING in constants.ts contained outdated/missing backend model IDs for several non-Claude models. This PR adds the correct model IDs as confirmed via the ListAvailableModels API endpoint (GET /ListAvailableModels?origin=AI_EDITOR).

Problem

The following models were either missing or had wrong backend IDs that returned INVALID_MODEL_ID:

  • minimax-m2MINIMAX_MINIMAX_M2 (wrong backend ID)
  • glm-5 — missing entirely
  • deepseek-3.2 — missing entirely
  • qwen3-coder-next — missing entirely

Fix

Added the following entries to MODEL_MAPPING with IDs confirmed working against the generateAssistantResponse endpoint:

OpenCode key Backend model ID
minimax-m2-5 minimax-m2.5
minimax-m2-1 minimax-m2.1
glm-5 glm-5
deepseek-3-2 deepseek-3.2
qwen3-coder-next qwen3-coder-next

Verification

All models confirmed returning HTTP 200 from generateAssistantResponse. The correct backend model IDs were discovered by calling GET /ListAvailableModels?origin=AI_EDITOR&profileArn=... which returns the full list of models available for the account.

…eepseek-3.2, qwen3-coder-next)

Models confirmed available via ListAvailableModels API.
Bumped version to 1.8.2, forked from @zhafron/opencode-kiro-auth@1.8.1.
@tickernelz
Copy link
Copy Markdown
Owner

Closing this PR because it now conflicts with current master. Please rebase or resolve the merge conflicts against master and open a fresh PR if you still want this change merged.

@tickernelz
Copy link
Copy Markdown
Owner

Closing for now due to unresolved merge conflicts with current master.

@tickernelz tickernelz closed this Apr 21, 2026
evlic added a commit to ybbapp/opencode-kiro-auth that referenced this pull request May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants