كيفية إصلاح: المدخلات تحتوي على NaN أو ما لا نهاية أو قيمة كبيرة جداً بالنسبة لـ dtype(‘float64’)
{
“response”: {
“candidates”: [
{
“content”: {},
“finishReason”: “RECITATION”,
“finishMessage”: “The generated content was filtered because it may contain material that resembles existing copyrighted works. Try rephrasing the prompt. If you think this was an error, [send feedback](https://ai.google.dev/gemini-api/docs/troubleshooting).”,
“citationMetadata”: {
“citations”: [
{
“startIndex”: 46036,
“endIndex”: 46349
}
]
}
}
],
“usageMetadata”: {
“promptTokenCount”: 2914,
“totalTokenCount”: 4455,
“thoughtsTokenCount”: 1541
},
“modelVersion”: “gemini-3.7-flash-tiered”,
“responseId”: “vW6Xarf0O93U7M8P7czL2Ac”
},
“traceId”: “57877461fe006873”,
“metadata”: {}
}