3 ms·
> They really need to figure out a way to delete or "forget" prior context, so the user or even the model can go back and prune poisonous tokens. In Claude Cod
by steveklabnik 1y ago
> They really need to figure out a way to delete or "forget" prior context, so the user or even the model can go back and prune poisonous tokens.
In Claude Code you can use /clear to clear context, or /compact <optional message> to compact it down, with the message guiding what stays and what goes. It's helpful.
- libraryofbabel 1y agoAlso in Claude Code you can just press <esc> a bunch of times and you can backtrack to an earlier point in the history before the context was poisoned, and re-start from there. Claude has some amazing features like this that aren’t very well documented. Yesterday I just learned it writes sessions to disk and you can resume them where you left off with -continue or - resume if you accidentally close or something.
- drewnick 1y agoThank you! This just saved me after closing laptop and losing a chat in VS Code. Cool feature and always a place where Clause Code UX was behind chat - being able to see history. "/continue" saved me ~15 minutes of re-establishing the planning for a new feature. Also loving the shift + tab (twice) to enter plan mode. Just adding here in case it helps anyone else.
- Aeolun 1y agoClaude code should really document this stuff in some kind of tutorial. There’s too much about code that I need to learn from random messages on the internet.
- steveklabnik 1y ago> Claude has some amazing features like this that aren’t very well documented. Yeah, it seems like they stealth ship a lot. Which is cool, but can sometimes lead to a future that's unevenly distributed, if you catch my drift.
- darrenspencer95 1y agoSuper helpful! Thanks!