Skip to content

PATCH /config uses wrong config file #4194

@veracioux

Description

@veracioux

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions