You can clear the chat history at any time by clicking “Fork”. This will create a fresh chat in the same project with your deployment settings, environment variables, integrations, etc all intact, and if you deploy the new fork it’ll take over as the main deployment for that generation
I rarely get beyond v20 before forking to a new chat and usually fork every time I deploy