Skip to content

Opencode Desktop Error #27321

@weichun-qin

Description

@weichun-qin

Description

It was working normally, but after another conversation, a problem occurred.

Error: Expected object, got "{"filePath": "
at [5]["parts"][4]["state"]["input"]
at wrapClientError (oc://renderer/assets/main-Cb1WDiRx.js:74955:12)
at request (oc://renderer/assets/main-Cb1WDiRx.js:71257:28)
at async retry (oc://renderer/assets/main-Cb1WDiRx.js:75706:14)
at async fetchMessages (oc://renderer/assets/main-Cb1WDiRx.js:77478:24)
at async loadMessages (oc://renderer/assets/main-Cb1WDiRx.js:77502:7)
at async Promise.all (index 1)
at async oc://renderer/assets/main-Cb1WDiRx.js:77660:13

────────────────────────────────────────
原因:
{
"body": {
"name": "BadRequest",
"data": {
"message": "Expected object, got "{\"filePath\": "\n at [5]["parts"][4]["state"]["input"]",
"kind": "Body"
}
},
"status": 400
}

Plugins

No response

OpenCode version

Desktop 1.14.48

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions