RemoveToolUseCall removes a tool use call from the chat's native messages. This is used to clean up incomplete or canceled tool calls when stopping execution.
(chatId string, toolCallId string)
| 35 | // RemoveToolUseCall removes a tool use call from the chat's native messages. |
| 36 | // This is used to clean up incomplete or canceled tool calls when stopping execution. |
| 37 | RemoveToolUseCall(chatId string, toolCallId string) error |
| 38 | |
| 39 | // ConvertToolResultsToNativeChatMessage converts tool execution results into native chat messages |
| 40 | // that can be sent back to the AI backend. Returns a slice of messages (some backends may |
no outgoing calls
no test coverage detected