diff options
| author | adamdottv <[email protected]> | 2025-06-19 06:02:02 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-06-19 06:02:02 -0500 |
| commit | c57b52c300a9ce4b59301a1c6ee91c856a53bd13 (patch) | |
| tree | 56a6fea71980837428a2d0ffeda1da5696ecd4d4 | |
| parent | 0b8f48f17f37132c9584c6298d15fac76fb1e590 (diff) | |
| download | opencode-c57b52c300a9ce4b59301a1c6ee91c856a53bd13.tar.gz opencode-c57b52c300a9ce4b59301a1c6ee91c856a53bd13.zip | |
fix: include schema in converted toml config
| -rw-r--r-- | packages/opencode/src/config/config.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts index e1dc9ab75..5d98d5794 100644 --- a/packages/opencode/src/config/config.ts +++ b/packages/opencode/src/config/config.ts @@ -150,6 +150,7 @@ export namespace Config { .then(async (mod) => { const { provider, model, ...rest } = mod.default if (provider && model) result.model = `${provider}/${model}` + result["$schema"] = "https://opencode.ai/config.json" result = mergeDeep(result, rest) await Bun.write( path.join(Global.Path.config, "config.json"), |
