From 230d8a664760f87b19e839865ff50e83dddaf5e7 Mon Sep 17 00:00:00 2001 From: zhonghanjun Date: Fri, 14 Jun 2024 00:53:39 +0800 Subject: [PATCH] fix: model limit list --- go/qianfan/chat_completion.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/qianfan/chat_completion.go b/go/qianfan/chat_completion.go index 58176d64..3dcda470 100644 --- a/go/qianfan/chat_completion.go +++ b/go/qianfan/chat_completion.go @@ -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},