summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTimo Clasen <[email protected]>2025-08-06 21:03:14 +0200
committerGitHub <[email protected]>2025-08-06 14:03:14 -0500
commit54457e48bba062fc5a678efaa7421eab703434fc (patch)
tree22185b83c1570c301aaa3c81d45cdd5441d2b6c9
parentb179d084847abaa6ec04974231048724b174aea6 (diff)
downloadopencode-54457e48bba062fc5a678efaa7421eab703434fc.tar.gz
opencode-54457e48bba062fc5a678efaa7421eab703434fc.zip
fix(docs): small_model is not used for summarization (#1360)
-rw-r--r--packages/opencode/src/config/config.ts4
-rw-r--r--packages/sdk/go/config.go2
-rw-r--r--packages/sdk/js/src/gen/types.gen.ts2
-rw-r--r--packages/web/src/content/docs/docs/config.mdx2
4 files changed, 4 insertions, 6 deletions
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts
index e26d879af..3a9ab9723 100644
--- a/packages/opencode/src/config/config.ts
+++ b/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()
diff --git a/packages/sdk/go/config.go b/packages/sdk/go/config.go
index 77b1b7602..911bb2a30 100644
--- a/packages/sdk/go/config.go
+++ b/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
diff --git a/packages/sdk/js/src/gen/types.gen.ts b/packages/sdk/js/src/gen/types.gen.ts
index 74fa1a4fb..79224562d 100644
--- a/packages/sdk/js/src/gen/types.gen.ts
+++ b/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
/**
diff --git a/packages/web/src/content/docs/docs/config.mdx b/packages/web/src/content/docs/docs/config.mdx
index b768d73e4..ec885d2ba 100644
--- a/packages/web/src/content/docs/docs/config.mdx
+++ b/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).