Skip to content

Missing MODEL_MAPPING for new Kiro models #78

Description

@jhong123

Describe the bug

Kiro has added new experimental models, but they are not in MODEL_MAPPING, resulting in Unsupported model error.

Error: Unsupported model: minimax-m2.5. Supported models: claude-haiku-4-5, ...

To Reproduce

  1. Configure kiro provider with model minimax-m2.5 (or deepseek-3.2, glm-5, minimax-m2.1, qwen3-coder-next)
  2. Run opencode run -m kiro/minimax-m2.5 "hi"
  3. See Unsupported model error

Expected behavior

These models should be recognized and routed to the Kiro API. I manually patched constants.js and confirmed all five models work correctly using the model ID directly as the mapping value.

Suggested change in constants.js:

// Add to MODEL_MAPPING:
'deepseek-3.2': 'deepseek-3.2',
'minimax-m2.5': 'minimax-m2.5',
'minimax-m2.1': 'minimax-m2.1',
'glm-5': 'glm-5',
'qwen3-coder-next': 'qwen3-coder-next',

Desktop:


Activity

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