Skip to content

Failed to read images using Kimi 2.5 with Customer provider #23427

Closed as not planned

Description

@QuinzyW

Description

This is my configuration, but it shows when sending pictures

"kimi-k2.5-external": {
          "name": "kimi_didi",
	  "modalities": {
            "input": ["text", "image"],
            "output": ["text"]
          }

opencode with Version 1.14.18 (1.14.18)

After looking at many similar issues, I suspect that the type here should be displayed as image_url to be parsed successfully?

Image

But get bad 400 response, how can i fix it?

 "responseBody": "{\"error\":{\"message\":\"litellm.BadRequestError: TokenserviceException - [traceId]: 9115a5cc-81e4-4e92-XXXXX [DoProviderRequest] Model aliyun/Kimi/Kimi-K2.5 provider service-aliyun-Kimi-Kimi-K2.5 with code 400 error errorCode: 50 message:[traceId]: 9115a5cc-81e4-4e92-be20-3b727e0ded5f provider service-aliyun-Kimi-Kimi-K2.5 DoRequest request for model kimi/kimi-k2.5 with error response code 400 body {\\\"error\\\":{\\\"message\\\":\\\"unsupported image type\\\",\\\"type\\\":\\\"InvalidParameter\\\",\\\"param\\\":null,\\\"code\\\":\\\"InvalidParameter\\\"},\\\"request_id\\\":\\\"55aa766a-9061-94db-aecb-fe95353b1214\\\"}. Received Model Group=kimi-k2.5-external\\nAvailable Model Group Fallbacks=None\",\"type\":null,\"param\":null,\"code\":\"400\"}}" 

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 19, 2026
  2. github-actions commented on Apr 19, 2026

    @github-actions
    Contributor

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

    If your issue is the same, consider adding a +1 or more details to one of those threads rather than opening a new one.

  3. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  4. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions