RunanywhereAI / RunanywhereAI/on-device-browser-agent

For any task, 100% fail with [Background] Task failed: [Planner] Failed to extract valid JSON from response

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
303
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I installed Qwen2.5-3B-Instruct-q4f16_1-MLC, but run into Failed to extract valid JSON from response no matter what prompt it is

Image

LLM Engine] Successfully loaded: Qwen2.5-3B-Instruct-q4f16_1-MLC
index.ts-Dc_bG3dB.js:62 [Executor] Event: INIT_COMPLETE
index.ts-Dc_bG3dB.js:62 [Executor] Event: PLAN_START
index.ts-Dc_bG3dB.js:1 [Planner] Invoking with message: Create a plan for the following web automation task:

TASK: Go to example.com and tell me what's the...
index.ts-Dc_bG3dB.js:1 [Planner] Response: lod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
index.ts-Dc_bG3dB.js:62 [Executor] Event: TASK_FAILED
index.ts-Dc_bG3dB.js:13 [Planner] Conversation history reset
index.ts-Dc_bG3dB.js:13 [Navigator] Conversation history reset
index.ts-Dc_bG3dB.js:141 [Background] Task failed: [Planner] Failed to extract valid JSON from response:
lod!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
Pe @ index.ts-Dc_bG3dB.js:141
index.ts-Dc_bG3dB.js:141 [Background] Popup disconnected

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with Qwen2.5-3B-Instruct-q4f16_1-MLC and inspect the planner path around the logged response and JSON extraction error. Compare the model output with the expected plan format; done means a task such as the example.com prompt completes without the planner rejecting the response.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.