opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Adding a trailing comma to agents markdown freezes startup

Open iloveicedgreentea opened this issue 5 days ago • 1 comments

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

  1. create new agent markdown file
  2. add trailing comma to a field in yaml section
  3. launch opencode

Screenshot and/or share link

No response

Operating System

mac tahoe

Terminal

vscode, ghostty

iloveicedgreentea avatar Jan 10 '26 19:01 iloveicedgreentea