Browse Source

修复gemini-balance测试gemini2.5pro的错误问题

kikii16 8 months ago
parent
commit
efc8457770
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/channel-test.go

+ 1 - 1
controller/channel-test.go

@@ -199,7 +199,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
 	}