mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
When I use LLM generation, I always encounter the problem that the output stops halfway or Gemini only outputs think but no data content. I am very sure that the connection time What is the reason? #575
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Vampxgg on GitHub (Aug 21, 2025).
Self Checks
Dify version
1.7.2
Plugin version
OpenRouter0.0.17
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
When I use LLM generation, I always encounter the problem that the output stops halfway or Gemini only outputs think but no data content. I am very sure that the connection time and communication return time given by my background service are configured correctly. What is the reason?

✔️ Error log
No response
@dosubot[bot] commented on GitHub (Aug 21, 2025):
The most common reasons for Gemini output stopping halfway or only returning "think" are:
gemini-2.0-flash-preview-image-generationwill not return text output; you need to use a text-capable model such asgemini-proorgemini-2.5-pro-exp-03-25) (source).sys.file(source).Double-check your Gemini model selection, prompt configuration, and token limits. If you’re using a supported model and still see issues, try downgrading the plugin or adjusting your prompt structure.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

@QIN2DIM commented on GitHub (Aug 21, 2025):
This is the problem with the upstream Gemini Provider, which has been around for a week
https://www.reddit.com/r/Bard/comments/1mukzvs/50_of_gemini_answers_today_are_truncated_or_empty/
@Vampxgg commented on GitHub (Aug 22, 2025):
Thank you for sharing. I really hope that the official can solve it quickly so that our application can run normally.
@dosubot[bot] commented on GitHub (Sep 7, 2025):
Hi, @Vampxgg. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!