diff --git a/providers/GoogleAIProvider.cpp b/providers/GoogleAIProvider.cpp index 9ddae6e..2844a87 100644 --- a/providers/GoogleAIProvider.cpp +++ b/providers/GoogleAIProvider.cpp @@ -525,6 +525,11 @@ void GoogleAIProvider::emitPendingThinkingBlocks(const QString &requestId) for (int i = alreadyEmitted; i < totalBlocks; ++i) { auto thinkingContent = thinkingBlocks[i]; + + if (thinkingContent->thinking().trimmed().isEmpty()) { + continue; + } + emit thinkingBlockReceived( requestId, thinkingContent->thinking(),