Need more than a 4097 token call from chat gpt api

Here’s a chatbot script, below the reply you see.

While the chat data itself is lossless as long as you are running the program, the chat[-10:] only passes five previous user questions and five AI responses back to the model each new input. Talk to that AI and see how much you really need to extend beyond the basics of a fixed history to maintain a fluent conversation.