Commit 950572b0 by Calcium-Ion Committed by GitHub

Set MaxTokens to 50 for gemini

parent 93d9f141
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment