opencode: Model updates - #59236
Conversation
|
Also:
Welcome to the chaos that is updating the OpenCode model list 😅 I'll create an issue |
|
@yeskunall glm5.2 here also for opencode go |
|
@AlexKovynev thanks for the heads up. I’m going to change this PR to draft and probably pool the other updates into this too, then move it out of drafts. |
|
|
||
| pub fn default_go() -> Self { | ||
| Self::KimiK2_5 | ||
| Self::KimiK2_6 |
There was a problem hiding this comment.
Because Kimi K2.5 and MiniMax M2.5 were the Go defaults, those were repointed off the deprecated models.
| | Self::Glm5_1 | ||
| Self::Glm5_1 | ||
| | Self::KimiK2_6 | ||
| | Self::KimiK2_5 |
| MiniMaxM2_7, | ||
| #[serde(rename = "minimax-m3")] | ||
| MiniMaxM3, | ||
| #[serde(rename = "minimax-m3-free")] |
| pub fn available_subscriptions(&self) -> &'static [OpenCodeSubscription] { | ||
| match self { | ||
| // Models available in both Zen and Go | ||
| Self::Glm5 |
| Self::Glm5_1 | ||
| | Self::KimiK2_6 | ||
| | Self::KimiK2_5 | ||
| | Self::MiniMaxM2_5 |
| | Self::KimiK2_5 | ||
| | Self::MiniMaxM2_5 | ||
| | Self::MiniMaxM2_7 | ||
| | Self::DeepSeekV4Pro |
There was a problem hiding this comment.
Added in OpenCode Zen as well: anomalyco/models.dev@57caaf8.
|
@Vlaaaaaaad wanna take another pass, since you already took one look at it? |
|
@yeskunall look like @Vlaaaaaaad not with us :) Will be good to merge. Very want that both models :) |
|
@yeskunall sorry, Fridays are days I actually do work so I was unavailable and this weekend I have other engagements. I'll review this by Monday EOD, assuming my schedule does not get obliterated in the meantime. @AlexKovynev for immediate access to models, folks can define custom OpenCode models 🙂 I agree it's not an ideal experience tho! |
|
@Vlaaaaaaad oh autodiscovery it great if it possible. Extensions for VS Code do the same. Anyway will be good merge that don't have anything about new models then nothing. |
@Vlaaaaaaad that sounds interesting. I’ll ping someone internally to get this merged, no worries. |
Vlaaaaaaad
left a comment
There was a problem hiding this comment.
Looks good to me! I didn't compile and test the code, but I reviewed the model configurations and they match the data on models.dev and the data from the OpenCode docs.
Fresh new updates from OpenCode dropped recently. Closes zed-industries#59225. ## Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [ ] Unsafe blocks (if any) have justifying comments - [ ] The content adheres to Zed's UI standards ([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) and [icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines) - [ ] Tests cover the new/changed behavior - [ ] Performance impact has been considered and is acceptable Release Notes: - Added GLM 5.2 + Kimi K2.7 Code (OpenCode Go) and DeepSeek V4 Pro (OpenCode Zen); removed/restricted models deprecated upstream (MiniMax M3 Free removed; GLM 5, Kimi K2.5, MiniMax M2.5 now Zen-only)
Fresh new updates from OpenCode dropped recently. Closes zed-industries#59225. ## Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [ ] Unsafe blocks (if any) have justifying comments - [ ] The content adheres to Zed's UI standards ([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) and [icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines) - [ ] Tests cover the new/changed behavior - [ ] Performance impact has been considered and is acceptable Release Notes: - Added GLM 5.2 + Kimi K2.7 Code (OpenCode Go) and DeepSeek V4 Pro (OpenCode Zen); removed/restricted models deprecated upstream (MiniMax M3 Free removed; GLM 5, Kimi K2.5, MiniMax M2.5 now Zen-only)
Fresh new updates from OpenCode dropped recently. Closes zed-industries#59225. ## Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [ ] Unsafe blocks (if any) have justifying comments - [ ] The content adheres to Zed's UI standards ([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) and [icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines) - [ ] Tests cover the new/changed behavior - [ ] Performance impact has been considered and is acceptable Release Notes: - Added GLM 5.2 + Kimi K2.7 Code (OpenCode Go) and DeepSeek V4 Pro (OpenCode Zen); removed/restricted models deprecated upstream (MiniMax M3 Free removed; GLM 5, Kimi K2.5, MiniMax M2.5 now Zen-only)
Fresh new updates from OpenCode dropped recently.
Closes #59225.
Self-Review Checklist:
Release Notes: