opencode
opencode copied to clipboard
V0 doesn't work!
Description
using v0 API Key always fails with:
error=[
{
"expected": "string",
"code": "invalid_type",
"path": [
"finish"
],
"message": "Invalid input: expected string, received object"
}
]
OpenCode version
1.0.207
Steps to reproduce
-
opencode serve --print-logs - in another terminal
export V0_API_KEY={YOUR-V0-API-KEY}opencode attach http://127.0.0.1:{Your-port}type hi!
Screenshot and/or share link
Operating System
macOS 26.2
Terminal
macOS Terminal