Reuse session when approval node is rejected #1985
Bobyfil94
started this conversation in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently rejected approval gates spawn a new session which starts from scratch, rereads files and so on. This is a real hit on usage limits. We can add
resume_on_rejectparameter so it can actually resume the session and benefit from prompt caching instead of spinning a new one (e.g. claude --resume <session_id> -p <rejection_prompt>)Beta Was this translation helpful? Give feedback.
All reactions