Skip to content

[BUG] Error when sending image to LMStudio with Web Browser Tool #8827

@MarkErik

Description

@MarkErik

Problem (one or two sentences)

Running into an API error when using the Web Browser Tool with Vision Capable model via LM Studio.
Getting the following error in the LM Studio logs: [Server Error] 'url' field must be a base64 encoded image

Context (who is affected and when)

Once the web browser loads the site in the Roo panel, it displays an API error, and then in the LM Studio log I can see: [Server Error] 'url' field must be a base64 encoded image

Reproduction steps

Latest version of LM Studio, latest version of MLX engine with support for Qwen3 vision models.
Have been able to reproduce this with Qwen3-VL-30b, Qwen3-VL-4b, and Gemma3-27b.

In code mode, I ask to check whether a website is rendering properly.

The browser tool activates, but then unable to do anything as it has an API error.

Expected result

No errors from API request in LM Studio log

Actual result

Error in LM Studio log: [Server Error] 'url' field must be a base64 encoded image

Variations tried (optional)

No response

App Version

3.29.0

API Provider (optional)

LM Studio

Model Used (optional)

Qwen3-VL-30b

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

LMStudio: [Server Error] 'url' field must be a base64 encoded image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions