Skip to content

Local shell execution borks the session conversation #364

@williammartin

Description

@williammartin

Describe the bug

Open copilot
> Hello
> !ls -lah
> Write that to a ls.txt file

See:

Model call failed: "400 400 Bad Request\n" (Request ID: D31B:19ED83:19D3B69:20B39C1:68F6232F)

Server side error is because:

The number of toolResult blocks at messages.10.content exceeds the number of toolUse blocks of previous turn

Affected version

0.0.346

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions