UI-TARS-desktop
UI-TARS-desktop copied to clipboard
OpenAI API ERROR: 400 Input should be a valid string, Input should be a valid list
I'm trying to use OpenAI API but got error 400 after "Thinking..."
ERROR: 400 [
{'type': 'string_type', 'loc': ('body', 'stop', 'str'), 'msg': 'Input should be a valid string', 'input': None
},
{'type': 'list_type', 'loc': ('body', 'stop', 'list[str
]'), 'msg': 'Input should be a valid list', 'input': None
},
{'type': 'list_type', 'loc': ('body', 'stop', 'list[list[int
]
]'), 'msg': 'Input should be a valid list', 'input': None
}
]
Please, help me or share your ides Thanks!
same problem
it looks like the issue is connected with stop option in ./packages/sdk/src/Model.ts
but, anyway, action box=[x1, y1, x2, y2] coorditanes generated by gpt-4o are wrong.
same here