Skip to content

[Bug Report]: Error in agent loop execution: SyntaxError: Unexpected end of JSON input #978

@PepperPlatypus

Description

@PepperPlatypus

Version

0.2.10

Issue Type

  • Select a issue type 👇
  • Agent TARS Web UI (@agent-tars/web-ui)
  • Agent TARS CLI (@agent-tars/server)
  • Agent TARS Server (@agent-tars/server)
  • Agent TARS (@agent-tars/core)
  • MCP Agent (@mcp-agent/core)
  • Agent Kernel (@multimodal/agent)
  • Other (please specify in description)

Model Provider

  • Select a model provider 👇
  • Volcengine
  • Anthropic
  • OpenAI
  • Azure OpenAI
  • Other (please specify in description)

Problem Description

This was the input:

get all weather forecast information in sf, sg, delhi including humidity windspeed for the next 7 days. then organize everything in an excel file. use the browser to search for weather information

Error Logs

[mcp-browser] Navigation timeout, but page might still be usable: TimeoutError: Navigation timeout of 30000 ms exceeded
    at new Deferred (/opt/homebrew/Cellar/nvm/0.39.4/versions/node/v22.14.0/lib/node_modules/@agent-tars/cli/node_modules/@agent-tars/core/dist/index.js:260918:42)
    at Deferred.create (/opt/homebrew/Cellar/nvm/0.39.4/versions/node/v22.14.0/lib/node_modules/@agent-tars/cli/node_modules/@agent-tars/core/dist/index.js:260890:24)
    at new LifecycleWatcher (/opt/homebrew/Cellar/nvm/0.39.4/versions/node/v22.14.0/lib/node_modules/@agent-tars/cli/node_modules/@agent-tars/core/dist/index.js:268466:54)
    at EventEmitter.goto (/opt/homebrew/Cellar/nvm/0.39.4/versions/node/v22.14.0/lib/node_modules/@agent-tars/cli/node_modules/@agent-tars/core/dist/index.js:268734:37)
    at EventEmitter.<anonymous> (/opt/homebrew/Cellar/nvm/0.39.4/versions/node/v22.14.0/lib/node_modules/@agent-tars/cli/node_modules/@agent-tars/core/dist/index.js:262010:35)
    at CdpPage.goto (/opt/homebrew/Cellar/nvm/0.39.4/versions/node/v22.14.0/lib/node_modules/@agent-tars/cli/node_modules/@agent-tars/core/dist/index.js:265205:51)
    at Object.browser_navigate (/opt/homebrew/Cellar/nvm/0.39.4/versions/node/v22.14.0/lib/node_modules/@agent-tars/cli/node_modules/@agent-tars/core/dist/index.js:208079:40)
    at handleToolCall (/opt/homebrew/Cellar/nvm/0.39.4/versions/node/v22.14.0/lib/node_modules/@agent-tars/cli/node_modules/@agent-tars/core/dist/index.js:208802:58)
    at async /opt/homebrew/Cellar/nvm/0.39.4/versions/node/v22.14.0/lib/node_modules/@agent-tars/cli/node_modules/@agent-tars/core/dist/index.js:208830:287
    at async /opt/homebrew/Cellar/nvm/0.39.4/versions/node/v22.14.0/lib/node_modules/@agent-tars/cli/node_modules/@agent-tars/core/dist/index.js:209142:38
[mcp-browser] starting to check if browser session is closed
[mcp-browser] detected browser session is still open: 1
[mcp-browser] starting to check if browser session is closed
[mcp-browser] detected browser session is still open: 1
AgentRunner [Stream] Error in agent loop execution: SyntaxError: Unexpected end of JSON input

<img width="1728" height="856" alt="Image" src="https://github.com/user-attachments/assets/dc794675-8470-4ca9-9a0e-c0f9a47a95e2" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions