Skip to content

feat: /continue#21082

Closed
micuintus wants to merge 2 commits intoanomalyco:devfrom
micuintus:feat/session-continue
Closed

feat: /continue#21082
micuintus wants to merge 2 commits intoanomalyco:devfrom
micuintus:feat/session-continue

Conversation

@micuintus
Copy link
Copy Markdown

@micuintus micuintus commented Apr 5, 2026

Issue for this PR

Closes #7226, #5150, #8197, #10374, #6653, #19023

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds a /continue command so the user can call /continue if a session got interrupted (for example by a network dropout) without the need to type a new user message and waste tokens or distract the model in its flow

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

  • Unit tests
  • Manual testing

Screenshots / recordings

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

Add SessionPrompt.continue() and POST /:sessionID/continue that
re-enters the agentic loop after an interruption without creating
a new user message. Preserves all completed thinking, text and
tool results (abort cleanup already finalized them).

Ref anomalyco#7226, Ref anomalyco#5150, Ref anomalyco#8197, Ref anomalyco#10374, Ref anomalyco#6653, Ref anomalyco#19023
@github-actions github-actions bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Apr 5, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 5, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@ariane-emory
Copy link
Copy Markdown
Contributor

I've had my own take on this since early December at ariane-emory#11 that's been working very well for me.

Recommend adding a session_continue key command (but with no default binding, leaving it for the user to bind themselves if they so desire).

@micuintus
Copy link
Copy Markdown
Author

I've had my own take on this since early December at ariane-emory#11 that's been working very well for me.

Recommend adding a session_continue key command (but with no default binding, leaving it for the user to bind themselves if they so desire).

Thanks for sharing your PR! Didn't know that there was one open still. Its basically the same as mine, even superior in some aspects.

My idea was for /continue to really pick up the session as if no interruption had ever happend - picking up thinking where it stopped half-way. Assistant prefill could be a lever to make this happen. But as it seems Anthropic has deprecated assistant prefill recently and if I am not mistaken the best we can get is something that writes a user message "Your session got interrupted, please continue"....

That TBH doesn't justify a built-in core feature :(, as it can be already done with what we have.

Unless someone has other ideas?

Closing the PR for now

@micuintus micuintus closed this Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: implement a /resume and /pause command

2 participants