Skip to content

Kilo Kimi K2.6 requests send invalid reasoning_details #24410

Closed

Description

@joshbochu

Kilo Gateway requests for moonshotai/kimi-k2.6 can fail with a 500 after a prior assistant reasoning turn.

The request body includes reasoning_details as a plain string derived from reasoning text. Kilo/OpenRouter-style reasoning_details should be structured data, so opencode should not synthesize that field from plain reasoning text.

Repro context:

Activity

  1. added
    core
    needs:compliance
    on Apr 26, 2026
  2. github-actions commented on Apr 26, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • No issue template was used. Please resubmit using one of the required templates: Bug Report, Feature Request, or Question. The bug report template requires fields like Description, Steps to Reproduce, OpenCode version, and Operating System.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. github-actions commented on Apr 26, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

    Feel free to open a new issue that follows our issue templates.

  4. removed
    needs:compliance
    on Apr 26, 2026
  5. rekram1-node commented on Apr 26, 2026

    @rekram1-node
    Member

    tbh idk how it's supposed to work can u provide more details and a session, i dont use kilo

  6. joshbochu commented on Apr 26, 2026

    @joshbochu
    Author

    np - im closing since it looks to have gone away on update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

core

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions