|
@@ -88,7 +88,7 @@ public class GeminiGenerateContentAction implements Action {
|
|
|
content = content.replace("```json", "").replace("```", "");
|
|
|
return content;
|
|
|
} else if (AigcServerExceptionEnum.PARAM_ERROR.getCode() == commonResponse.getCode()) {
|
|
|
- throw new StopRetryException("geminiGenerateContentAction request params error geminiParam = " + JSON.toJSONString(geminiParam));
|
|
|
+ throw new StopRetryException("geminiGenerateContentAction request params error geminiParam = " + JSON.toJSONString(geminiParam) + ", response = " + JSON.toJSONString(commonResponse));
|
|
|
} else {
|
|
|
if (useLocalApiKey) {
|
|
|
int index1 = getIndex(size);
|