> opencode.ai is the source of truth for OpenCode, the open source coding agent, including its apps, install commands, docs and releases. The current version is OpenCode v2.
> Cite the canonical page, https://opencode.ai/changelog/v1.1.41, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# Ensure variants for Copilot models work with maxTokens being set

2026-01-29 · v1.1.41

## 改進

- **Core:** Fixed maxOutputTokens being accidentally hardcoded to undefined which caused kimi-k2.5 issues on some inference providers ([@ideallove](https://github.com/ideallove))
- **Core:** Include provider ID in SDK cache key to prevent cache collisions ([@saba-ch](https://github.com/saba-ch))
- **Core:** Allow media-src data: URL for small audio files in Content Security Policy ([@tanapok](https://github.com/tanapok))
- **Core:** Update experimental environment variables in CLI documentation ([@bbabou](https://github.com/bbabou))
- **Core:** Add `ctx.abort` to grep tool
- **Core:** Add AbortSignal support to Ripgrep.files() and GlobTool ([@goniz](https://github.com/goniz))
- **Desktop:** Make settings more responsive for mobile and small web/desktop ([@DNGriffin](https://github.com/DNGriffin))
- **Desktop:** Fixed type errors in app package ([@Brendonovich](https://github.com/Brendonovich))
- **Desktop:** Auto scroll to file tabs on open and enable mouse wheel scrolling ([@alexyaroshuk](https://github.com/alexyaroshuk))
- **Desktop:** Remove duplicate keys causing TypeScript failures ([@eXamadeus](https://github.com/eXamadeus))
- **Desktop:** Normalize Chinese punctuation for Chinese UI ([@MaxMiksa](https://github.com/MaxMiksa))
- **Desktop:** Fill missing Chinese translation keys to avoid English fallback ([@MaxMiksa](https://github.com/MaxMiksa))
- **Desktop:** Fix alignment and padding in dialogs ([@alexyaroshuk](https://github.com/alexyaroshuk))

發布於 [v1.1.41](https://github.com/anomalyco/opencode/releases/tag/v1.1.41)

較新: [Revert to Anthropic completions endpoint to avoid rate limiting issues with copilot](https://opencode.ai/changelog/v1.1.42) (v1.1.42)

較舊: [Add SubtaskPart with metadata reference](https://opencode.ai/changelog/v1.1.40) (v1.1.40)

[所有更新](https://opencode.ai/changelog)

---

If something here is wrong or missing, open an issue at https://github.com/anomalyco/opencode/issues.
