Commit 5cb4c4e6 by Calcium-Ion Committed by GitHub

Merge pull request #1314 from vickyyd/main

修复使用gemini-balance作为上游时,测试gemini2.5pro模型时出现的错误问题
parents 12977d9a 400a7e6e
......@@ -202,7 +202,7 @@ func buildTestRequest(model string) *dto.GeneralOpenAIRequest {
testRequest.MaxTokens = 50
}
} else if strings.Contains(model, "gemini") {
testRequest.MaxTokens = 300
testRequest.MaxTokens = 3000
} 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