MCPcopy Create free account
hub / github.com/coder/aibridge / Close

Method Close

example/recorder.go:66–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66func (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
75func (r *SQLiteRecorder) RecordInterception(ctx context.Context, req *aibridge.InterceptionRecord) error {
76 metadata, _ := json.Marshal(req.Metadata)

Callers 4

mainFunction · 0.95
GuessSessionIDFunction · 0.45
InitMethod · 0.45
ShutdownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected