print not gpt-model name
This commit is contained in:
@@ -94,7 +94,7 @@ func recordAssistantResponse(contentType string, db *gorm.DB, trackID uuid.UUID,
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !strings.HasPrefix(fetchResp.Model, "gpt-") {
|
if !strings.HasPrefix(fetchResp.Model, "gpt-") {
|
||||||
log.Println("Not GPT model, skip recording response")
|
log.Println("Not GPT model, skip recording response:", fetchResp.Model)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if len(fetchResp.Choices) == 0 {
|
if len(fetchResp.Choices) == 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user