[PR #1030] [MERGED] feat(config): make small model configurable #9785

Closed
opened 2026-02-16 18:14:10 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1030
Author: @timoclsn
Created: 7/15/2025
Status: Merged
Merged: 7/18/2025
Merged by: @thdxr

Base: devHead: add-small-model-config-and-use-in-compact


📝 Commits (3)

  • 06de14e feat: make small model configurable and also use in /compact
  • 0c40d1c Merge branch 'dev' into add-small-model-config-and-use-in-compact
  • 5bafec1 Remove small model form summarize

📊 Changes

2 files changed (+13 additions, -0 deletions)

View changed files

📝 packages/opencode/src/config/config.ts (+6 -0)
📝 packages/opencode/src/provider/provider.ts (+7 -0)

📄 Description

  • Make small model configurable in config via optional small_model key

I like the idea of a small model and making it configurable is in in line with the existing "model" key. This allows e.g. to use a model that is unlimited in the copilot subscription.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1030 **Author:** [@timoclsn](https://github.com/timoclsn) **Created:** 7/15/2025 **Status:** ✅ Merged **Merged:** 7/18/2025 **Merged by:** [@thdxr](https://github.com/thdxr) **Base:** `dev` ← **Head:** `add-small-model-config-and-use-in-compact` --- ### 📝 Commits (3) - [`06de14e`](https://github.com/anomalyco/opencode/commit/06de14ea7241193ac7ac6b893a03b39593aaabdf) feat: make small model configurable and also use in /compact - [`0c40d1c`](https://github.com/anomalyco/opencode/commit/0c40d1cfd4a4cf2d6a0a5b8036a102219bbafafe) Merge branch 'dev' into add-small-model-config-and-use-in-compact - [`5bafec1`](https://github.com/anomalyco/opencode/commit/5bafec107d268664dd82dc843ff350b4c32f4ba2) Remove small model form summarize ### 📊 Changes **2 files changed** (+13 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/config/config.ts` (+6 -0) 📝 `packages/opencode/src/provider/provider.ts` (+7 -0) </details> ### 📄 Description - Make small model configurable in config via optional `small_model` key I like the idea of a small model and making it configurable is in in line with the existing "model" key. This allows e.g. to use a model that is unlimited in the copilot subscription. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:10 -05:00
yindo closed this issue 2026-02-16 18:14:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9785