Repository navigation
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
The agent creation flow started failing on me today. Here is one example:
➜ ~ opencode agent create --print-logs
INFO 2025-11-06T01:52:49 +354ms service=default version=1.0.32 args=["agent","create","--print-logs"] opencode
INFO 2025-11-06T01:52:49 +0ms service=project directory=/Users/bryceremick fromDirectory
┌ Create agent
│
◇ Description
│ This agent should review code
│
INFO 2025-11-06T01:53:08 +18942ms service=config path=/Users/bryceremick/.config/opencode/config.json loading
INFO 2025-11-06T01:53:08 +1ms service=config path=/Users/bryceremick/.config/opencode/opencode.json loading
INFO 2025-11-06T01:53:08 +7ms service=config path=/Users/bryceremick/.config/opencode/opencode.jsonc loading
INFO 2025-11-06T01:53:08 +2ms service=bun cmd=["/Users/bryceremick/.bun/install/global/node_modules/opencode-darwin-arm64/bin/opencode","add","@opencode-ai/[email protected]","--exact"] cwd=/Users/bryceremick/.config/opencode running
INFO 2025-11-06T01:53:08 +12ms service=bun code=0 stdout=bun add v1.3.1 (89fa0f34)
installed @opencode-ai/[email protected]
[4.00ms] done
stderr=Saved lockfile
done
INFO 2025-11-06T01:53:08 +5ms service=models.dev file={} refreshing
INFO 2025-11-06T01:53:08 +2ms service=provider init
INFO 2025-11-06T01:53:08 +1ms service=plugin [email protected] loading plugin
INFO 2025-11-06T01:53:08 +2ms service=plugin [email protected] loading plugin
INFO 2025-11-06T01:53:08 +14ms service=provider providerID=opencode found
INFO 2025-11-06T01:53:08 +0ms service=provider providerID=anthropic found
INFO 2025-11-06T01:53:08 +0ms service=provider providerID=opencode modelID=glm-4.6 getModel
INFO 2025-11-06T01:53:08 +0ms service=provider status=started providerID=opencode getSDK
INFO 2025-11-06T01:53:08 +38ms service=provider status=completed duration=38 providerID=opencode getSDK
INFO 2025-11-06T01:53:08 +1ms service=provider providerID=opencode modelID=glm-4.6 found
■ LLM failed to generate agent: No object generated: response did not match schema.
ERROR 2025-11-06T01:53:10 +1204ms service=default name=UICancelledError message=UICancelledError stack=UICancelledError: UICancelledError
at <anonymous> (src/cli/cmd/agent.ts:54:17)
at processTicksAndRejections (native:7:39) fatalOpenCode version
1.0.32
Steps to reproduce
- Run
opencode agent create
Screenshot and/or share link
No response
Operating System
macOS 15.6.1
Terminal
WezTerm
Reacted by Piotr Wierzbicki, Ga Satrya and Jakub Sarnowski
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
github-actions commentedon Nov 6, 2025
This issue might be a duplicate of existing issues. Please check:
opencode agent createcommandFeel free to ignore if none of these address your specific case.
rekram1-node commentedon Nov 6, 2025
we should handle it better model disobeys this is an easy one to fix
pete-willard commentedon Nov 25, 2025
Still happends on 1.0.112. I'm using Zen btw.
rekram1-node commentedon Nov 25, 2025
got it ill fix
mcread29 commentedon Dec 2, 2025
not sure if this is the same issue but i'm getting these logs on debian
cravenceiling commentedon Jan 9, 2026
@mcread29 Try upgrading opencode. And I think there's something off in your config, are you using gemini-3-pro with opencode as provider?
TyrionFront commentedon Jan 16, 2026
Same problem for MacBook Air (Tahoe 26.2) - no matter what LLM is picked up after login (Zen profile):
github-actions commentedon Mar 26, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.