RecordToolCall is fired after every tool invocation, regardless of outcome.
(ctx context.Context, toolName, sessionID, agentName string, duration time.Duration, err error)
| 26 | RecordError(ctx context.Context, message string) |
| 27 | // RecordToolCall is fired after every tool invocation, regardless of outcome. |
| 28 | RecordToolCall(ctx context.Context, toolName, sessionID, agentName string, duration time.Duration, err error) |
| 29 | // RecordTokenUsage is fired after each model response that reports usage. |
| 30 | RecordTokenUsage(ctx context.Context, model string, inputTokens, outputTokens int64, cost float64) |
| 31 | } |
no outgoing calls