autogen-agi icon indicating copy to clipboard operation
autogen-agi copied to clipboard

Resume chat when last call was to archive bot function duplicates embeddings

Open emooreatx opened this issue 1 year ago • 0 comments

If the last call before a rate limit error or other error terminates execution was a call to the archive bot, the embeddings remain in the prompt when chat is resumed, but the agents are still waiting for the agent bot to return as completed. If the agent councel is instructed to run the bot again, the embeddings are duplicated.

Ideal behaviour: embeddings are evaluated for retention in context outside of chat history to ensure no duplication, or embedding de-duplication is performed on the chat history as part of the archive bots normal function

emooreatx avatar Dec 21 '23 23:12 emooreatx