Skip to content

Kimi provider model ID mapping: auto-discovered 'k2p6' fails, manual 'kimi-k2.6' works #13758

@leo-lee-4231

Description

@leo-lee-4231

Bug Description

When configuring the Kimi provider in Hermes, the auto-discovered model name k2p6 (shown in the dropdown/model list) does not match the actual model ID expected by the Moonshot API (kimi-k2.6). This causes all API requests to fail with a model-not-found error.

Steps to Reproduce

  1. Go to model configuration for the Kimi provider.
  2. Select k2p6 from the auto-discovered model list.
  3. Try to send a message.
  4. Actual: Connection fails / model not found error.
  5. Workaround: Manually type kimi-k2.6 as the model name instead of using the dropdown.
  6. Expected: API works correctly.

Root Cause

The model display name / auto-discovery list uses k2p6, but the API expects kimi-k2.6. The two are not mapped correctly for the Kimi provider.

Environment

  • Hermes version: latest
  • Provider: Kimi (Moonshot)
  • Model: k2p6 (auto-discovered) vs kimi-k2.6 (manual)

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp/cliCLI entry point, hermes_cli/, setup wizardprovider/kimiKimi / Moonshottype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions