Skip to content

Commit a5de542

Browse files
committed
recorder: use model ref rather than model ID
The model ID is already recorded elsewhere and used as the record key. Signed-off-by: Jacob Howard <[email protected]>
1 parent a8437d3 commit a5de542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/metrics/openai_recorder.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func (r *OpenAIRecorder) RecordRequest(model string, req *http.Request, body []b
9999

100100
record := &RequestResponsePair{
101101
ID: recordID,
102-
Model: modelID,
102+
Model: model,
103103
Method: req.Method,
104104
URL: req.URL.Path,
105105
Request: string(body),

0 commit comments

Comments
 (0)