Skip to content

/compact fails in ACP #5304

@r1bilski

Description

@r1bilski

Description

If you try to run the /compact command through ACP, it will fail:
{"code":-32603,"message":"Internal error","data":{}}

OpenCode version

1.0.138

Steps to reproduce

  1. Set up an ACP session with Opencode
  2. Send any message
  3. Send /compact
  4. You get an error ``{"code":-32603,"message":"Internal error","data":{}}`

Small JS repro: https://gist.github.com/r1bilski/a3cb7c16868169b22dd6e787f53be067

Screenshot and/or share link

No response

Operating System

Alpine Linux edge

Terminal

st

Metadata

Metadata

Assignees

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