()
| 64 | } |
| 65 | |
| 66 | func (r *SQLiteRecorder) Close() error { |
| 67 | r.stmtInsertInterception.Close() |
| 68 | r.stmtUpdateInterception.Close() |
| 69 | r.stmtInsertTokenUsage.Close() |
| 70 | r.stmtInsertPromptUsage.Close() |
| 71 | r.stmtInsertToolUsage.Close() |
| 72 | return nil |
| 73 | } |
| 74 | |
| 75 | func (r *SQLiteRecorder) RecordInterception(ctx context.Context, req *aibridge.InterceptionRecord) error { |
| 76 | metadata, _ := json.Marshal(req.Metadata) |
no outgoing calls
no test coverage detected