[PR #5354] Add Cerebras integration header with opencode identifier #11360

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

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

State: closed
Merged: Yes


Context

Add the X-Cerebras-3rd-Party-Integration header to all Cerebras API requests to properly identify requests coming from OpenCode. This helps Cerebras track usage and provide better support for different integrations.

Implementation

  • Added cerebras provider configuration to the CUSTOM_LOADERS object
  • Set the X-Cerebras-3rd-Party-Integration header to "opencode" in the provider options
  • This ensures all Cerebras API requests from OpenCode include the proper integration identifier

Screenshots

before after

How to Test

  • Configure OpenCode with a Cerebras API key
  • Select a Cerebras model and make an API request
  • Verify the X-Cerebras-3rd-Party-Integration header is present with value "opencode" in the network request

Get in Touch

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5354 **State:** closed **Merged:** Yes --- ## Context Add the X-Cerebras-3rd-Party-Integration header to all Cerebras API requests to properly identify requests coming from OpenCode. This helps Cerebras track usage and provide better support for different integrations. ## Implementation - Added cerebras provider configuration to the CUSTOM_LOADERS object - Set the X-Cerebras-3rd-Party-Integration header to "opencode" in the provider options - This ensures all Cerebras API requests from OpenCode include the proper integration identifier ## Screenshots | before | after | | ------ | ----- | | | | ## How to Test - Configure OpenCode with a Cerebras API key - Select a Cerebras model and make an API request - Verify the X-Cerebras-3rd-Party-Integration header is present with value "opencode" in the network request ## Get in Touch
yindo added the pull-request label 2026-02-16 18:16:11 -05:00
yindo closed this issue 2026-02-16 18:16:11 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11360