Skip to content

[python] AgentGroupChat tool-bleed between agents #10297

Answered by moonbox3
drdrewAQ asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for confirming, @drdrewAQ. For this model type, it may be worth exploring how you might manage the chat history that the agents use. Since every ChatMessageContent (and its derivative types) are shared between agents in a group chat right now, you may need to remove content types like FunctionCallContent and FunctionResultContent so that information doesn't bleed to another agent. This would involve getting the messages from the chat, filtering them, clearing the chat, and then adding the messages back.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@drdrewAQ
Comment options

@moonbox3
Comment options

@drdrewAQ
Comment options

@moonbox3
Comment options

Answer selected by sophialagerkranspandey
@drdrewAQ
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python Pull requests for the Python Semantic Kernel agents
2 participants