fix(ai): map OpenCode max tokens

closes #5331
This commit is contained in:
Mario Zechner
2026-06-09 13:40:41 +02:00
parent 9632bddd38
commit 3d02d1da11
4 changed files with 54 additions and 8 deletions

View File

@@ -5,6 +5,7 @@
### Fixed
- Fixed z.ai thinking-off requests to send the provider's `thinking: { type: "disabled" }` compatibility parameter ([#5330](https://github.com/earendil-works/pi/issues/5330)).
- Fixed OpenCode completions model metadata to send explicit `maxTokens` as `max_tokens` ([#5331](https://github.com/earendil-works/pi/issues/5331)).
- Fixed Moonshot Kimi thinking-off requests to send the provider's `thinking: { type: "disabled" }` compatibility parameter ([#5531](https://github.com/earendil-works/pi/issues/5531)).
- Fixed Azure OpenAI Responses requests to disable server-side response storage ([#5530](https://github.com/earendil-works/pi/issues/5530)).