bytedance / bytedance/UI-TARS

UI Tars 7B and Midscene.js 413 error after a few steps

Open
#112 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.5k
Forks
877
PR merge metrics
No merged PRs in 30d

Description

When using UI tars 7B with midscene.js after few steps it always errors out with:

error
failed to call AI model service: 413 Failed to buffer the request body: length limit exceeded.

Following this guide for setup:

https://juniper-switch-f10.notion.site/UI-TARS-Model-Deployment-Guide-17b5350241e280058e98cea60317de71

"error": "failed to call AI model service: 413 Failed to buffer the request body: length limit exceeded. Trouble shooting: https://midscenejs.com/model-provider.html",
"errorStack": "Error: failed to call AI model service: 413 Failed to buffer the request body: length limit exceeded. Trouble shooting: https://midscenejs.com/model-provider.html\n at et (chrome-extension://gbldofcpkknbggpkmbdaefngejllnief/static/js/205.c3b16320.js:427:1539)\n at async eg (chrome-extension://gbldofcpkknbggpkmbdaefngejllnief/static/js/205.c3b16320.js:478:1937)\n at async Object.executor (chrome-extension://gbldofcpkknbggpkmbdaefngejllnief/static/js/index.986d99d1.js:560:7348)\n at async l.flush (chrome-extension://gbldofcpkknbggpkmbdaefngejllnief/static/js/205.c3b16320.js:480:1660)\n at async eb.actionToGoal (chrome-extension://gbldofcpkknbggpkmbdaefngejllnief/static/js/index.986d99d1.js:560:9168)\n at async ex.aiAction (chrome-extension://gbldofcpkknbggpkmbdaefngejllnief/static/js/index.986d99d1.js:561:1420)\n at async chrome-extension://gbldofcpkknbggpkmbdaefngejllnief/static/js/index.986d99d1.js:575:5824"
}

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the UI Tars 7B and Midscene.js flow using the linked UI-TARS Model Deployment Guide, and review the model-provider guidance referenced in the error. Trace where the 413 request-body limit is applied and document the configuration or request-handling change needed so several steps complete without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
ai, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.