Ver código fonte

chore: generate

opencode-agent[bot] 4 meses atrás
pai
commit
89029a20ef
1 arquivos alterados com 3 adições e 5 exclusões
  1. 3 5
      packages/opencode/src/config/config.ts

+ 3 - 5
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()