Agent-specific tool call visibility in group chats. #9516
Replies: 2 comments 3 replies
-
Hi @VeliKivilahti, thanks for your question. Are you using C# or Python? Right now, in both languages, for an agent group chat, we aren't broadcasting tool call related messages to other channels. Are you seeing evidence that is indeed happening? |
Beta Was this translation helpful? Give feedback.
-
Thank you bring this up @VeliKivilahti. A couple notes:
I'm wondering if providing an implementation of |
Beta Was this translation helpful? Give feedback.
-
Currently the tool call return values are all inserted in the agent group chat and kept during the chat. This can lead to unoptimized token consumption and irrelevant prompt context to the agents.
For example, we can have a agent group chat with multiple RAG agents with different sources / purposes. Currently each agent will add their tool call returns to the chat. The RAG context from the tool call will then be shown as context to the other agents later in the chat, while they only would need the RAG agent's response in the chat. The context from the tool call is in this case irrelevant to other agents and can effect their tasks negatively. For longer context windows and group chats, this will also increase the cost of the group chat as the context is kept in each agent invocation.
If possible, there could be an optional parameter in the plugin / group chat that the output of the plugin is only shown to the agent.
Another option is to allow to delete messages from the group chat mid-chat.
Beta Was this translation helpful? Give feedback.
All reactions