codex icon indicating copy to clipboard operation
codex copied to clipboard

Question: How to clear conversation history?

Open olimart opened this issue 1 year ago • 5 comments

What is the type of issue?

No response

What is the issue?

Claude has a slash command /clear to clear conversation history, is there an equivalent?

I end up quitting & starting codex again, there must be something more efficient. Thanks

Where did you find it?

No response

olimart avatar Aug 29 '25 00:08 olimart

/new

Image

yuqie6 avatar Aug 29 '25 05:08 yuqie6

Not sure if this is what Olimart meant, however, /clear not only starts a new conversation but also removes all previous lines in the console, making it look fresh again. I kind of miss this feature too.

Elandrya2711 avatar Aug 29 '25 06:08 Elandrya2711

thanks @yuqie6 that will do it.

olimart avatar Aug 29 '25 12:08 olimart

/new helps for starting fresh, but I still miss a real way to clean up old history/threads after the fact. I ended up making a small local workaround for that: https://github.com/hanityx/threadlens

hanityx avatar Mar 30 '26 12:03 hanityx

@hanityx, we recently added /clear as a way to both clear the terminal and start a new thread.

etraut-openai avatar Mar 30 '26 14:03 etraut-openai