[PR #5541] fix: use max_completion_tokens for Azure reasoning models #11461

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

Original Pull Request: https://github.com/anomalyco/opencode/pull/5541

State: closed
Merged: No


Fixes Azure reasoning models (GPT-5, o1) by using max_completion_tokens instead of max_tokens.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5541 **State:** closed **Merged:** No --- Fixes Azure reasoning models (GPT-5, o1) by using `max_completion_tokens` instead of `max_tokens`.
yindo added the pull-request label 2026-02-16 18:16:18 -05:00
yindo closed this issue 2026-02-16 18:16:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11461