Skip to content

"Error building chunks" when trying to use openrouter #336

@ddevz

Description

@ddevz

Issue

litellm.APIError: Error building chunks for logging/streaming usage calculation
Retrying in 0.2 seconds...
LiteLLM API Error: litellm.InternalServerError: OpenrouterException - AsyncCompletions.create() got an unexpected keyword argument 'top_k'. Did you mean 'top_p'?

Version and model info

cecli v0.91.3
Model: openrouter/qwen/qwen3-coder with diff edit format
Git repo: .git with 20 files
Repo-map: using 4096 tokens, auto refresh

Metadata

Metadata

Assignees

No one assigned

    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