PATCH /config uses wrong config file
Description
PATCH /config endpoint saves the configuration to the wrong file: $PWD/config.json. AFAIK that file is not used to load the configuration.
I can fix this, I just need to know which file to save it to: $PWD/opencode.json or $PWD/.opencode/opencode.json.
OpenCode version
1.x
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
fix welcome!
@rekram1-node Which of the 2 files though?
i guess whatever the user already has otherwise it doesnt matter much
Fix is ready
Hi @veracioux , thank you for fixing it. I am also encounting the same issue. However, even I upgrade to the latest version 1.0.134, the issue still exist. I am wondering when this will be merged and fixed. Thank you