(ctx context.Context, err string)
| 26 | } |
| 27 | |
| 28 | func RecordError(ctx context.Context, err string) { |
| 29 | if client := FromContext(ctx); client != nil { |
| 30 | client.RecordError(ctx, err) |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | func RecordToolCall(ctx context.Context, toolName, sessionID, agentName string, duration time.Duration, err error) { |
| 35 | if client := FromContext(ctx); client != nil { |
no test coverage detected