summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/opencode/src/config/config.ts8
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts
index 684fdf63a..f228878d0 100644
--- a/packages/opencode/src/config/config.ts
+++ b/packages/opencode/src/config/config.ts
@@ -135,12 +135,10 @@ export const Info = z
.array(z.string())
.optional()
.describe("When set, ONLY these providers will be enabled. All other providers will be ignored"),
- model: ConfigModelID.zod
- .describe("Model to use in the format of provider/model, eg anthropic/claude-2")
+ model: ConfigModelID.zod.describe("Model to use in the format of provider/model, eg anthropic/claude-2").optional(),
+ small_model: ConfigModelID.zod
+ .describe("Small model to use for tasks like title generation in the format of provider/model")
.optional(),
- small_model: ConfigModelID.zod.describe(
- "Small model to use for tasks like title generation in the format of provider/model",
- ).optional(),
default_agent: z
.string()
.optional()