feat: add ended_at column to aibridge_interceptions table (#20432)

Needed for marking interceptions as done
(https://github.com/coder/internal/issues/1051).
This commit is contained in:
Paweł Banaszewski
2025-10-23 13:29:05 +02:00
committed by GitHub
parent 70cc3dd14a
commit 4244b20823
6 changed files with 14 additions and 5 deletions
+1
View File
@@ -3613,6 +3613,7 @@ type AIBridgeInterception struct {
Model string `db:"model" json:"model"`
StartedAt time.Time `db:"started_at" json:"started_at"`
Metadata pqtype.NullRawMessage `db:"metadata" json:"metadata"`
EndedAt sql.NullTime `db:"ended_at" json:"ended_at"`
}
// Audit log of tokens used by intercepted requests in AI Bridge