Skip to content

Commit

Permalink
fix: model limit list
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhjz committed Jun 13, 2024
1 parent 6d819cb commit 230d8a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/qianfan/chat_completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ type inputLimitInfo struct {
// 定义包含所需信息的 map
var limitMapInModelName = map[string]inputLimitInfo{
"ERNIE-Lite-8K-0922": {MaxInputChars: 11200, MaxInputTokens: 7168},
"ERNIE-Lite-8K": {MaxInputChars: 11200, MaxInputTokens: 7168},
"ERNIE-Lite-8K-0308": {MaxInputChars: 11200, MaxInputTokens: 7168},
"ERNIE-3.5-8K": {MaxInputChars: 20000, MaxInputTokens: 5120},
"ERNIE-4.0-8K": {MaxInputChars: 20000, MaxInputTokens: 5120},
Expand Down

0 comments on commit 230d8a6

Please sign in to comment.