Просмотр исходного кода

fix(docs): small_model is not used for summarization (#1360)

Timo Clasen 6 месяцев назад
Родитель
Сommit
54457e48bb

+ 1 - 3
packages/opencode/src/config/config.ts

@@ -249,9 +249,7 @@ export namespace Config {
       model: z.string().describe("Model to use in the format of provider/model, eg anthropic/claude-2").optional(),
       small_model: z
         .string()
-        .describe(
-          "Small model to use for tasks like summarization and title generation in the format of provider/model",
-        )
+        .describe("Small model to use for tasks like title generation in the format of provider/model")
         .optional(),
       username: z
         .string()

+ 1 - 1
packages/sdk/go/config.go

@@ -74,7 +74,7 @@ type Config struct {
 	// Control sharing behavior:'manual' allows manual sharing via commands, 'auto'
 	// enables automatic sharing, 'disabled' disables all sharing
 	Share ConfigShare `json:"share"`
-	// Small model to use for tasks like summarization and title generation in the
+	// Small model to use for tasks like title generation in the
 	// format of provider/model
 	SmallModel string `json:"small_model"`
 	// Theme name to use for the interface

+ 1 - 1
packages/sdk/js/src/gen/types.gen.ts

@@ -558,7 +558,7 @@ export type Config = {
    */
   model?: string
   /**
-   * Small model to use for tasks like summarization and title generation in the format of provider/model
+   * Small model to use for tasks like title generation in the format of provider/model
    */
   small_model?: string
   /**

+ 1 - 1
packages/web/src/content/docs/docs/config.mdx

@@ -90,7 +90,7 @@ You can configure the providers and models you want to use in your opencode conf
 }
 ```
 
-The `small_model` option configures a separate model for lightweight tasks like summarization and title generation. By default, opencode tries to use a cheaper model if one is available from your provider, otherwise it falls back to your main model.
+The `small_model` option configures a separate model for lightweight tasks like title generation. By default, opencode tries to use a cheaper model if one is available from your provider, otherwise it falls back to your main model.
 
 You can also configure [local models](/docs/models#local). [Learn more](/docs/models).