You know this, but a tiny nit: it resets to a clean state after every prompt and then replays recent chat history to catch up. The distinction is important in cases like asking it to play a guessing game ("think of a number/person and I'll guess"). The only way it could maintain memory of the secret being guessed between questions is by outputting it as part of a response, which would defeat the purpose of the game.