EniasCailliau / GirlfriendGPT

Girlfriend GPT is a Python project to build your own AI girlfriend using ChatGPT4.0
https://gptgirlfriend.online
2.58k stars 435 forks source link

An error happened while creating a response: [ERROR - POST /generate] #66

Open RafaelXYZ-BR opened 1 year ago

RafaelXYZ-BR commented 1 year ago

Hello!

After some interactions with the AI, it's begins to deliver the same response for every interaction:

"An error happened while creating a response: [ERROR - POST /generate] This model's maximum context length is 4097 tokens. However, you requested 4242 tokens (3986 in the messages, 256 in the completion). Please reduce the length of the messages or completion."

How can I solve this issue? Thanks.