You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an agent conversation where one of the agents is a multimodalconversableagent and images are added to the conversation to analyse. Each time the LLM is called the full conversation history is sent, including the previous images. This causes the cost to build up quite quickly, and also slows the response.
I'd like to progressively remove the older images from the chat history as the conversation progresses, but keep the text part of the conversation.
Any ideas on how to do this? Or where in the source code I can find the right place to edit this in?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have an agent conversation where one of the agents is a multimodalconversableagent and images are added to the conversation to analyse. Each time the LLM is called the full conversation history is sent, including the previous images. This causes the cost to build up quite quickly, and also slows the response.
I'd like to progressively remove the older images from the chat history as the conversation progresses, but keep the text part of the conversation.
Any ideas on how to do this? Or where in the source code I can find the right place to edit this in?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions