Description
I tried to test via OpenCode Zen Mistral Large 4 and I got the following error:
Type validation failed: Value: {"id":"eb6f5ebd9dbf42b4a66f326daf3823c6","object":"chat.completion.chunk","created":1791357732,"model":"mistral-large-4","choices":[{"index":0,"finish_reason":null,"logprobs":null,"delta":{"content":[{"type":"thinking","thinking":[{"type":"text","text":"The user said \""}],"closed":true}]}}]}.
Error message: [
{
"code": "invalid_union",
"errors": [
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"choices",
0,
"delta",
"content"
],
"message": "Invalid input: expected string, received array"
}
],
[
{
"expected": "object",
"code": "invalid_type",
"path": [
"error"
],
"message": "Invalid input: expected object, received undefined"
}
]
],
"path": [],
"message": "Invalid input"
}
]
Plugins
none
OpenCode version
1.18.35
Steps to reproduce
1, open opencode
2. select Mistral Large 4
3. send a hello prompt
Screenshot and/or share link
No response
Operating System
WSL Ubuntu
Terminal
Windows Terminal
Description
I tried to test via OpenCode Zen Mistral Large 4 and I got the following error:
Type validation failed: Value: {"id":"eb6f5ebd9dbf42b4a66f326daf3823c6","object":"chat.completion.chunk","created":1791357732,"model":"mistral-large-4","choices":[{"index":0,"finish_reason":null,"logprobs":null,"delta":{"content":[{"type":"thinking","thinking":[{"type":"text","text":"The user said \""}],"closed":true}]}}]}. Error message: [ { "code": "invalid_union", "errors": [ [ { "expected": "string", "code": "invalid_type", "path": [ "choices", 0, "delta", "content" ], "message": "Invalid input: expected string, received array" } ], [ { "expected": "object", "code": "invalid_type", "path": [ "error" ], "message": "Invalid input: expected object, received undefined" } ] ], "path": [], "message": "Invalid input" } ]Plugins
none
OpenCode version
1.18.35
Steps to reproduce
1, open opencode
2. select Mistral Large 4
3. send a hello prompt
Screenshot and/or share link
No response
Operating System
WSL Ubuntu
Terminal
Windows Terminal