[PR #12678] feat: add research_preview_2026_02 beta header when OPENCODE_OPUS_FAST_MODE is set #14320

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

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

State: closed
Merged: No


Summary

  • Adds OPENCODE_OPUS_FAST_MODE flag that appends research_preview_2026_02 to the anthropic-beta header when set to true or 1
  • Uses the existing Flag module with truthy() for consistency with other env flags
  • Includes test verifying the beta is excluded when the flag is unset
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12678 **State:** closed **Merged:** No --- ## Summary - Adds `OPENCODE_OPUS_FAST_MODE` flag that appends `research_preview_2026_02` to the `anthropic-beta` header when set to `true` or `1` - Uses the existing `Flag` module with `truthy()` for consistency with other env flags - Includes test verifying the beta is excluded when the flag is unset
yindo added the pull-request label 2026-02-16 18:19:07 -05:00
yindo closed this issue 2026-02-16 18:19:07 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14320