[GH-ISSUE #4548] [BUG]: Gemini output stuck in agent thoughts #2892

Closed
opened 2026-02-22 18:31:42 -05:00 by yindo · 0 comments
Owner

Originally created by @shatfield4 on GitHub (Oct 15, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4548

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

Docker (local)

What happened?

With some Gemini models, notably 2.5-flash, it seems that when no tools are present or even when a tool is called the model will sometimes never show the true output and its response will be captured in the "thoughts" container.

This only applies in @agent mode.

Image

Are there known steps to reproduce?

No response

Originally created by @shatfield4 on GitHub (Oct 15, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4548 Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? Docker (local) ### What happened? With some Gemini models, notably 2.5-flash, it seems that when no tools are present or even when a tool is called the model will sometimes never show the true output and its response will be captured in the "thoughts" container. This only applies in @agent mode. <img width="2500" height="996" alt="Image" src="https://github.com/user-attachments/assets/223e1cf0-ffa4-4969-bf77-d60887c0beba" /> ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:31:42 -05:00
yindo closed this issue 2026-02-22 18:31:42 -05:00
yindo changed title from [BUG]: Gemini output stuck in agent thoughts to [GH-ISSUE #4548] [BUG]: Gemini output stuck in agent thoughts 2026-06-05 14:49:06 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2892