Documentation
¶
Overview ¶
Package agenttoolcall deduplicates chat tool call requests and cancels tool calls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table remembers tool calls by chat ID and tool call ID.
func New ¶
New returns a Table that calls cancel to stop work a canceled tool call left running, such as a process.
func (*Table) Middleware ¶
Middleware runs each tool call request once and responds to repeats with the saved response, or with 409 if the tool call was canceled.