opencode
opencode copied to clipboard
Adding a trailing comma to agents markdown freezes startup
Description
I created an agent and accidentally added a trailing comma to the yaml at the top like so
model: openai/gpt-5.2-codex
reasoningEffort: "xhigh",
This causes opencode to freeze on launch. Removing the comma makes it work again.
Plugins
No response
OpenCode version
1.1.12
Steps to reproduce
- create new agent markdown file
- add trailing comma to a field in yaml section
- launch opencode
Screenshot and/or share link
No response
Operating System
mac tahoe
Terminal
vscode, ghostty