Skip to content

compression can fail on images for kimi #1889

@acoliver

Description

@acoliver

What happened?

✕ [API Error: Compression strategy "middle-out" failed: LLM provider call failed: 400 {"error":{"message":"litellm.BadRequestError: Fireworks_aiException - Error code: 400 - {'error': {'object': 'error', 'type': 'invalid_request_error', 'code': 'invalid_request_error', 'message': 'Cannot decode or download image: Incorrect padding'}}","type":null,"param":null,"code":"400"}}]

What did you expect to happen?

I think before compresison the images should just be removed unless they are in the presevered area. etiehr way this shouldn't happen

Client information

About LLxprt Code

CLI Version 0.10.0-nightly.260406.b4e83ea07
Git Commit b4e83ea
Model anthropic:accounts/fireworks/routers/kimi-k2p5-turbo
Provider anthropic
Base URL https://api.fireworks.ai/inference/
Sandbox no sandbox
OS darwin

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Context ManagementIssues related to managing the context sent to the model.

    Type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions