Set MaxTokens to 50 for gemini

This commit is contained in:
Calcium-Ion authored and GitHub committed 2025-04-08 17:33:10 +08:00
1 parent 93d9f141fe
commit 950572b02e
1 file changed
+1 -1
+1 -1
View File
@@ -193,7 +193,7 @@ func buildTestRequest(model string) *dto.GeneralOpenAIRequest {
testRequest.MaxTokens = 50
}
} else if strings.Contains(model, "gemini") {
testRequest.MaxTokens = 500
testRequest.MaxTokens = 50
} else {
testRequest.MaxTokens = 10
}