I am in the process of building a chatbot where users can upload images and have them interpreted by it. There is a history. I built it like this:
Every new request/answer will be added to a list that will be sent to the api to have the full context.
The problem exists with the analyse image functionality, the first time the image is interpreted correctly and results in a correct answer.
If the user now asks a question that relates to the previously asked image, the history image does not seem to be reloaded or interpreted.
Is this the desired behaviour? What is the correct way to deal with this?