eca icon indicating copy to clipboard operation
eca copied to clipboard

Resume doesnt work well for compacted sessions

Open bobrowadam opened this issue 1 year ago • 2 comments

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

Describe the bug After using the /compact command, resuming the chat result with a truncated text which contain only: The conversation was compacted/summarized, consider this summary: and nothing more.

To Reproduce

  1. Start a session.
  2. Compact using /compact
  3. resume the session using /resume

Expected behavior Having the whole compacted summary available.

Doctor ECA version: 0.71.0

Server cmd: /Library/Java/JavaVirtualMachines/graalvm-25.jdk/Contents/Home/bin/java -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf=true -Dclojure.core.async.go-checking=true -server -jar /Users/bob/source/eca/eca server --verbose

Default model: anthropic/claude-sonnet-4-5-20250929

Login providers: anthropic: {:step :login/done, :mode :max, :verifier "Fp3*****ccD", :type :auth/oauth, :refresh-token "sk-*****gAA", :api-key "sk-*****gAA", :expires-at 1761087768} azure: {} deepseek: {} github-copilot: {} google: {} openai: {} openrouter: {} z-ai: {}

Relevant env vars: OPENAI_API_KEY=sk-*****QQA ANTHROPIC_API_KEY=sk-wAA LINEAR_API_KEY=linBKv

Credential files (GPG available: true): /Users/bob/.authinfo.gpg: Readable: true Credentials: 14

Screenshots

Image

bobrowadam avatar Oct 21 '25 17:10 bobrowadam

Nice catch, will take a look soon

ericdallo avatar Oct 21 '25 18:10 ericdallo

The compact feature was broken because of a recent commit, just fixed that on 0.71.2, thank you!

ericdallo avatar Oct 21 '25 22:10 ericdallo