Skip to content

Error: LM Studio - Unknown error #10864

@b333kay

Description

@b333kay

Error Details

Model: LM Studio
Provider: lmstudio
Status Code: N/A

Straightforward config through LM Studio Local Server

name: Local Config
version: 1.0.0
schema: v1
models:

  • name: LM Studio
    provider: lmstudio
    model: Qwen3-Coder-Next-UD-IQ3_XXS
    api_base: http://localhost:1234/
    roles:
    • chat
    • edit
    • apply
    • autocomplete

Error Output

Cannot truncate prompt with n_keep (23783) >= n_ctx (4096)

Additional Context
When I attach files and enter prompt in either "Chat" or "Agent" mode, I get this error
If I don't put any attachments, it will run as expected with the model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:applyarea:autocompleteRelates to the auto complete featurearea:chatRelates to chat interfacearea:editRelates to side panel Edit featurekind:bugIndicates an unexpected problem or unintended behavior

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions