Self Checks
Dify version
1.11.4
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
This issue can only be reproduced with Nano Banana Pro. It cannot be reproduced with Nano Banana.
Gemini 3 Pro Preview does not have this problem (but Gemini 3 Pro Preview does not support file output). It is recommended to test gemini-2.5-flash-image / gemini-3-pro-image-preview.
Steps to reproduce
Send an image to Nano Banana Pro and have it process the image.
In the same conversation, reply using Nano Banana and ask it to modify the image.
✔️ Expected Behavior
Multi-turn conversations should be processed correctly.
❌ Actual Behavior
Run failed: req_id: 861eb74ff9 PluginInvokeError: {"args":{},"error_type":"ClientError","message":"400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': 'Image part is missing a thought_signature in content position 2, part position 1. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures#model-behavior for more details.', 'status': 'INVALID_ARGUMENT'}}"}
Self Checks
Dify version
1.11.4
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
This issue can only be reproduced with Nano Banana Pro. It cannot be reproduced with Nano Banana.
Gemini 3 Pro Preview does not have this problem (but Gemini 3 Pro Preview does not support file output). It is recommended to test gemini-2.5-flash-image / gemini-3-pro-image-preview.
Steps to reproduce
Send an image to Nano Banana Pro and have it process the image.
In the same conversation, reply using Nano Banana and ask it to modify the image.
✔️ Expected Behavior
Multi-turn conversations should be processed correctly.
❌ Actual Behavior