Skip to content

kimi cli 在第三方供应商情况下,图片上传包含多余参数 || kimi cli In the case of third-party providers, image upload contains redundant parameters #1791

@Mxucc

Description

@Mxucc

What version of Kimi Code CLI is running?

kimi, version 1.30.0

Which open platform/subscription were you using?

custom

Which model were you using?

kimi-k2p5

What platform is your computer?

everyone

What issue are you seeing?

截取片段:```
'type': 'image_url'}, {'text': '', 'type': 'te
xt'}]; Extra inputs are not permitted, field: 'messages[3].***.list[Chat
MessageContent][2].image_url.id', value: None', 'type': 'invalid_request_
error', 'param': '', 'code': 'invalid_request_error'}}



### What steps can reproduce the bug?

使用多模态图片上传

### What is the expected behavior?

_No response_

### Additional information

_No response_

<!--This is a translation content dividing line, the content below is generated by machine, please do not modify the content below-->
---
### What version of Kimi Code CLI is running?

kimi, version 1.30.0

### Which open platform/subscription were you using?

custom

### Which model were you using?

kimi-k2p5

### What platform is your computer?

everyone

### What issue are you seeing?

Intercepted fragment:```
'type\': \'image_url\'}, {\'text\': \'</image>\', \'type\': \'te
xt\'}]; Extra inputs are not permitted, field: \'messages[3].***.list[Chat
MessageContent][2].image_url.id\', value: None', 'type': 'invalid_request_
error', 'param': '', 'code': 'invalid_request_error'}}

What steps can reproduce the bug?

Use multimodal image uploads

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions