Skip to content

Commit

Permalink
feat: update model ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
Calcium-Ion committed Oct 3, 2024
1 parent 9969ed2 commit 31d84ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/model-ratio.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,9 @@ func GetCompletionRatio(name string) float64 {
return 3
}
if strings.HasPrefix(name, "gpt-4o") {
if name == "gpt-4o-2024-05-13" {
return 3
}
return 4
}
return 2
Expand Down

0 comments on commit 31d84ee

Please sign in to comment.