Skip to content

Commit

Permalink
feat: update gemini flash completion ratio #479
Browse files Browse the repository at this point in the history
  • Loading branch information
Calcium-Ion committed Sep 18, 2024
1 parent 3aa86a8 commit af33f36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion common/model-ratio.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,10 @@ func GetCompletionRatio(name string) float64 {
return 3
}
if strings.HasPrefix(name, "gemini-") {
return 4
if strings.Contains(name, "flash") {
return 4
}
return 3
}
if strings.HasPrefix(name, "command") {
switch name {
Expand Down

0 comments on commit af33f36

Please sign in to comment.