Skip to content

[BUG] Local model: file-write tasks routed to Browser/Developer agents — file saved off-host, never to the workspace #1742

Description

@leeknights13-ctrl

Summary

With a local Ollama model as the coordinator, a plain "create a file" task never writes to the host. In both Single Agent and Workforce mode the task is routed to an agent that has no host file-writing tool, so the run reports success while nothing lands on disk. This is coordinator/routing behaviour on Eigent's side — the model and transport are fine (evidence below).

Environment

  • Eigent v1.0.1 (Linux AppImage, run extracted via --appimage-extract)
  • OS: Pop!_OS 24.04 (COSMIC / Wayland)
  • Model: local Ollama, qwen3-coder:30b (endpoint http://localhost:11434/v1)
  • GPU: RTX 5060 8GB (model runs via VRAM + RAM offload)

Steps to reproduce

  1. Configure the Ollama local-model card with qwen3-coder:30b.
  2. Connect a host folder as the Space.
  3. Run: Create a document named probe.md in the workspace folder containing one line: test OK. Do not open a browser.

What happens

  • Workforce mode: the task is handled by the Developer Agent. It reports File ... /home/user/workspace/probe.md created successfully, but /home/user/... is not the host user's home — the file is written inside the agent's sandboxed environment and is absent from the connected Space on disk.
  • Single Agent mode (earlier build/run): when the full toolset including write_to_file is offered and the model returns a tool call, the backend crashes with Error: 'shell' (a KeyError), apparently when a shell_* tool is selected.

Evidence — the tool list Eigent offers the model

I put a small logging proxy between Eigent and Ollama. Across a Workforce file-task run, the model was only ever offered:

  • TOOLS=1 -> ['get_website_content'] (Browser agent), and
  • TOOLS=18 -> [... 'shell_exec', 'shell_write_content_to_file', 'create_note', 'deploy_html_content' ...] (Developer/terminal agent).

The DocumentAgent's host file tools — write_to_file / edit_file — were never offered on the wire, so the model had no way to write to the host even in principle.

Raw Ollama confirms the model itself is fine: qwen3-coder:30b returns clean tool_calls on both /api/chat and /v1 (streaming and non-streaming). So this is not a model or transport problem.

Expected

A file-write task with a local coordinator should be routed to the DocumentAgent (host FileToolkit), and the file should appear in the connected Space on disk.

Related

#1030 (local vllm gpt-oss-20b) looks like the same class of local-model tool-handling maturity, at the parser layer rather than routing.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions