A chatbot feels like it remembers you. It doesn't — it's stateless. Everything it "knows" is just text resent each call, up to a fixed limit: the context window. When the box fills, the oldest messages fall off the edge and are genuinely gone.
The model is stateless
reply = model(allMessagesSoFar); // the app resends the whole history every turn
Enter fullscreen mode
Exit fullscreen mode









