Replies: 1 comment 4 replies
-
Hello @rflx123! I'm here to help you with any bugs, questions, or contributions you may have. Let's work on this together! To implement a system where users can approve or reject tool calls with reasons, you can follow these steps:
This approach ensures that each tool call is independently verified and processed, allowing for a clear communication of both successful and rejected tool calls to the LLM agent. |
Beta Was this translation helpful? Give feedback.
-
@dosu
I have a tool that is invoked by an agent, and it may happen that the agent makes several tool calls in sequence. Before each individual tool call, the user should verify the upcoming tool call. The user should also have the option to reject a tool call and provide a description explaining the reason for the rejection.
Rejection should only affect the specific tool call in question, without impacting the previous or subsequent tool calls.
At the end, the LLM agent should receive the tool messages from the successful tool calls, as well as the tool messages from the rejected ones, including the respective reasons for their rejection.
Beta Was this translation helpful? Give feedback.
All reactions