[GH-ISSUE #4888] [BUG]: Agent "save-file-to-browser" produces empty document #3076

Closed
opened 2026-02-22 18:32:30 -05:00 by yindo · 1 comment
Owner

Originally created by @socketbox on GitHub (Jan 21, 2026).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4888

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

Docker (local)

What happened?

Running v1.9.1

This is the prompt for my third attempt to obtain a summary of a dialog:

Image Image

"Debug output" from terminal:

[backend] info: [MCPHypervisor] Successfully started 1 MCP servers: ["google-maps"]
[backend] info: [AgentHandler] Attached rag-memory plugin to Agent cluster
[backend] info: [AgentHandler] Attached document-summarizer plugin to Agent cluster
[backend] info: [AgentHandler] Attached web-scraping plugin to Agent cluster
[backend] info: [AgentHandler] Attached web-browsing plugin to Agent cluster
[backend] info: [AgentHandler] Attached save-file-to-browser plugin to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_geocode MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_reverse_geocode MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_search_places MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_place_details MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_distance_matrix MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_elevation MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_directions MCP tool to Agent cluster
[backend] info: [AgentHandler] [DEBUG] Provider supports agent streaming - will use async execution!
[backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool {
  "filename": "javascript-frameworks-evolution-discussion.txt"
}
[backend] info: [TELEMETRY SENT] {"event":"workspace_thread_created","distinctId":"1929a828-11ed-4826-a265-68ebef1285d3::1","properties":{"multiUserMode":true,"LLMSelection":"anthropic","Embedder":"native","VectorDbSelection":"lancedb","TTSSelection":"native","LLMModel":"claude-sonnet-4-5-20250929","runtime":"docker"}}
[backend] info: [Event Logged] - workspace_thread_created
[backend] info: [AgentHandler] End 76b9ff3b-963e-49a5-94e6-65be30265f6a::anthropic:claude-sonnet-4-5-20250929
[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[collector] error: Resulting text content was empty for javascript-frameworks-evolution-discussion.txt.
[backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool {
  "filename": "javascript-frameworks-evolution-discussion.md"
}
[backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool {
  "filename": "javascript-frameworks-evolution.md",
  "file_content": "# JavaScript Frameworks Evolution Discussion\n\n## Overview\n
<snip>
 ✅ Great DX on Vercel\n- ❌ Poor DX everywhere else\n- ❌ Created artificial complexity around caching\n- ❌ Made standard HTTP caching seem \"old fashioned\"\n\nFrameworks that embrace web standards (Remix, SvelteKit, Astro) provide performance without vendor lock-in.\n\nNext.js is a great framework *if you're on Vercel*. Otherwise, you're fighting against it.\n"
}
[backend] info: [TELEMETRY SENT] {"event":"agent_chat_sent","distinctId":"1929a828-11ed-4826-a265-68ebef1285d3","properties":{"runtime":"docker"}}
[backend] info: [Event Logged] - sent_chat
[backend] info: [AgentHandler] Start 9c1e42c2-6e0f-44e6-a1c0-0d673e3b78f9::anthropic:claude-sonnet-4-5-20250929
[backend] info: [AgentHandler] Attached websocket plugin to Agent cluster
[backend] info: [AgentHandler] Attached chat-history plugin to Agent cluster
[backend] info: [AgentHandler] Attaching user and default agent to Agent cluster.
[backend] info: [MCPHypervisor] MCP Servers already running, skipping boot.
[backend] info: [AgentHandler] Attached rag-memory plugin to Agent cluster
[backend] info: [AgentHandler] Attached document-summarizer plugin to Agent cluster
[backend] info: [AgentHandler] Attached web-scraping plugin to Agent cluster
[backend] info: [AgentHandler] Attached web-browsing plugin to Agent cluster
[backend] info: [AgentHandler] Attached save-file-to-browser plugin to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_geocode MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_reverse_geocode MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_search_places MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_place_details MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_distance_matrix MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_elevation MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_directions MCP tool to Agent cluster
[backend] info: [AgentHandler] [DEBUG] Provider supports agent streaming - will use async execution!
[backend] info: [AgentHandler] [DEBUG] Provider supports agent streaming - will use async execution!
[backend] info: [MCPHypervisor] MCP Servers already running, skipping boot.
[backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool {
  "filename": "javascript-frameworks-evolution.md"
}
[backend] info: [AgentHandler] End 9c1e42c2-6e0f-44e6-a1c0-0d673e3b78f9::anthropic:claude-sonnet-4-5-20250929
[backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool {
  "filename": "javascript-frameworks-evolution.md"
}
[backend] info: [AgentHandler] save-file-to-browser was called, but exited early because an exact duplicate of previous run of save-file-to-browser.
[backend] info: [Event Logged] - sent_chat
[backend] info: [AgentHandler] Start 8c627286-e90a-4b47-851b-d26ebd7c4de0::anthropic:claude-sonnet-4-5-20250929
[backend] info: [AgentHandler] Attached websocket plugin to Agent cluster
[backend] info: [AgentHandler] Attached chat-history plugin to Agent cluster
[backend] info: [AgentHandler] Attaching user and default agent to Agent cluster.
[backend] info: [MCPHypervisor] MCP Servers already running, skipping boot.
[backend] info: [AgentHandler] Attached rag-memory plugin to Agent cluster
[backend] info: [AgentHandler] Attached document-summarizer plugin to Agent cluster
[backend] info: [AgentHandler] Attached web-scraping plugin to Agent cluster
[backend] info: [AgentHandler] Attached web-browsing plugin to Agent cluster
[backend] info: [AgentHandler] Attached save-file-to-browser plugin to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_geocode MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_reverse_geocode MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_search_places MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_place_details MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_distance_matrix MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_elevation MCP tool to Agent cluster
[backend] info: [AgentHandler] Attached MCP::google-maps:maps_directions MCP tool to Agent cluster
[backend] info: [AgentHandler] [DEBUG] Provider supports agent streaming - will use async execution!
[backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool {
  "filename": "javascript-frameworks-evolution.txt"
}
[backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool {
  "filename": "javascript-frameworks-conversation.md"
}
[backend] info: Client took too long to respond, chat thread is dead after 300000ms
[backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool {
  "filename": "javascript-frameworks-conversation.md"
}
[backend] info: [AgentHandler] save-file-to-browser was called, but exited early because an exact duplicate of previous run of save-file-to-browser.
[backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool {
  "filename": "javascript-frameworks-conversation.md"
}
[backend] info: [AgentHandler] save-file-to-browser was called, but exited early because an exact duplicate of previous run of save-file-to-browser.
[backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool {
  "filename": "js-frameworks-evolution-complete.md"
}
[backend] info: [TELEMETRY SENT] {"event":"login_event","distinctId":"1929a828-11ed-4826-a265-68ebef1285d3::1","properties":{"multiUserMode":false,"runtime":"docker"}}

Are there known steps to reproduce?

No response

Originally created by @socketbox on GitHub (Jan 21, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4888 Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? Docker (local) ### What happened? Running `v1.9.1` This is the prompt for my third attempt to obtain a summary of a dialog: <img width="986" height="1208" alt="Image" src="https://github.com/user-attachments/assets/d4e0106c-518d-4b10-89b5-21dab63177d6" /> <img width="288" height="367" alt="Image" src="https://github.com/user-attachments/assets/4c44e6fc-8fb1-47dc-baae-73cebfa387a9" /> "Debug output" from terminal: ``` [backend] info: [MCPHypervisor] Successfully started 1 MCP servers: ["google-maps"] [backend] info: [AgentHandler] Attached rag-memory plugin to Agent cluster [backend] info: [AgentHandler] Attached document-summarizer plugin to Agent cluster [backend] info: [AgentHandler] Attached web-scraping plugin to Agent cluster [backend] info: [AgentHandler] Attached web-browsing plugin to Agent cluster [backend] info: [AgentHandler] Attached save-file-to-browser plugin to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_geocode MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_reverse_geocode MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_search_places MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_place_details MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_distance_matrix MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_elevation MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_directions MCP tool to Agent cluster [backend] info: [AgentHandler] [DEBUG] Provider supports agent streaming - will use async execution! [backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool { "filename": "javascript-frameworks-evolution-discussion.txt" } [backend] info: [TELEMETRY SENT] {"event":"workspace_thread_created","distinctId":"1929a828-11ed-4826-a265-68ebef1285d3::1","properties":{"multiUserMode":true,"LLMSelection":"anthropic","Embedder":"native","VectorDbSelection":"lancedb","TTSSelection":"native","LLMModel":"claude-sonnet-4-5-20250929","runtime":"docker"}} [backend] info: [Event Logged] - workspace_thread_created [backend] info: [AgentHandler] End 76b9ff3b-963e-49a5-94e6-65be30265f6a::anthropic:claude-sonnet-4-5-20250929 [backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data. [collector] error: Resulting text content was empty for javascript-frameworks-evolution-discussion.txt. [backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool { "filename": "javascript-frameworks-evolution-discussion.md" } [backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool { "filename": "javascript-frameworks-evolution.md", "file_content": "# JavaScript Frameworks Evolution Discussion\n\n## Overview\n <snip> ✅ Great DX on Vercel\n- ❌ Poor DX everywhere else\n- ❌ Created artificial complexity around caching\n- ❌ Made standard HTTP caching seem \"old fashioned\"\n\nFrameworks that embrace web standards (Remix, SvelteKit, Astro) provide performance without vendor lock-in.\n\nNext.js is a great framework *if you're on Vercel*. Otherwise, you're fighting against it.\n" } [backend] info: [TELEMETRY SENT] {"event":"agent_chat_sent","distinctId":"1929a828-11ed-4826-a265-68ebef1285d3","properties":{"runtime":"docker"}} [backend] info: [Event Logged] - sent_chat [backend] info: [AgentHandler] Start 9c1e42c2-6e0f-44e6-a1c0-0d673e3b78f9::anthropic:claude-sonnet-4-5-20250929 [backend] info: [AgentHandler] Attached websocket plugin to Agent cluster [backend] info: [AgentHandler] Attached chat-history plugin to Agent cluster [backend] info: [AgentHandler] Attaching user and default agent to Agent cluster. [backend] info: [MCPHypervisor] MCP Servers already running, skipping boot. [backend] info: [AgentHandler] Attached rag-memory plugin to Agent cluster [backend] info: [AgentHandler] Attached document-summarizer plugin to Agent cluster [backend] info: [AgentHandler] Attached web-scraping plugin to Agent cluster [backend] info: [AgentHandler] Attached web-browsing plugin to Agent cluster [backend] info: [AgentHandler] Attached save-file-to-browser plugin to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_geocode MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_reverse_geocode MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_search_places MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_place_details MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_distance_matrix MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_elevation MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_directions MCP tool to Agent cluster [backend] info: [AgentHandler] [DEBUG] Provider supports agent streaming - will use async execution! [backend] info: [AgentHandler] [DEBUG] Provider supports agent streaming - will use async execution! [backend] info: [MCPHypervisor] MCP Servers already running, skipping boot. [backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool { "filename": "javascript-frameworks-evolution.md" } [backend] info: [AgentHandler] End 9c1e42c2-6e0f-44e6-a1c0-0d673e3b78f9::anthropic:claude-sonnet-4-5-20250929 [backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool { "filename": "javascript-frameworks-evolution.md" } [backend] info: [AgentHandler] save-file-to-browser was called, but exited early because an exact duplicate of previous run of save-file-to-browser. [backend] info: [Event Logged] - sent_chat [backend] info: [AgentHandler] Start 8c627286-e90a-4b47-851b-d26ebd7c4de0::anthropic:claude-sonnet-4-5-20250929 [backend] info: [AgentHandler] Attached websocket plugin to Agent cluster [backend] info: [AgentHandler] Attached chat-history plugin to Agent cluster [backend] info: [AgentHandler] Attaching user and default agent to Agent cluster. [backend] info: [MCPHypervisor] MCP Servers already running, skipping boot. [backend] info: [AgentHandler] Attached rag-memory plugin to Agent cluster [backend] info: [AgentHandler] Attached document-summarizer plugin to Agent cluster [backend] info: [AgentHandler] Attached web-scraping plugin to Agent cluster [backend] info: [AgentHandler] Attached web-browsing plugin to Agent cluster [backend] info: [AgentHandler] Attached save-file-to-browser plugin to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_geocode MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_reverse_geocode MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_search_places MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_place_details MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_distance_matrix MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_elevation MCP tool to Agent cluster [backend] info: [AgentHandler] Attached MCP::google-maps:maps_directions MCP tool to Agent cluster [backend] info: [AgentHandler] [DEBUG] Provider supports agent streaming - will use async execution! [backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool { "filename": "javascript-frameworks-evolution.txt" } [backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool { "filename": "javascript-frameworks-conversation.md" } [backend] info: Client took too long to respond, chat thread is dead after 300000ms [backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool { "filename": "javascript-frameworks-conversation.md" } [backend] info: [AgentHandler] save-file-to-browser was called, but exited early because an exact duplicate of previous run of save-file-to-browser. [backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool { "filename": "javascript-frameworks-conversation.md" } [backend] info: [AgentHandler] save-file-to-browser was called, but exited early because an exact duplicate of previous run of save-file-to-browser. [backend] info: [AgentHandler] [debug]: @agent is attempting to call `save-file-to-browser` tool { "filename": "js-frameworks-evolution-complete.md" } [backend] info: [TELEMETRY SENT] {"event":"login_event","distinctId":"1929a828-11ed-4826-a265-68ebef1285d3::1","properties":{"multiUserMode":false,"runtime":"docker"}} ``` ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:32:30 -05:00
yindo closed this issue 2026-02-22 18:32:30 -05:00
Author
Owner

@shatfield4 commented on GitHub (Jan 22, 2026):

What platform are you running into this issue on? Also what model are you using here?

I'm not having any issues using this tool on Desktop, Docker, or locally hosted version. Please provide any other info you can about exact steps you took to run into this issue.

@shatfield4 commented on GitHub (Jan 22, 2026): What platform are you running into this issue on? Also what model are you using here? I'm not having any issues using this tool on Desktop, Docker, or locally hosted version. Please provide any other info you can about exact steps you took to run into this issue.
yindo changed title from [BUG]: Agent "save-file-to-browser" produces empty document to [GH-ISSUE #4888] [BUG]: Agent "save-file-to-browser" produces empty document 2026-06-05 14:50:10 -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#3076