[PR #8000] feat: allow provider-level store option #12591

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

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

State: closed
Merged: Yes


Background

Provider options currently support baseURL/apiKey and setCacheKey, but there is no way to set the OpenAI Responses store flag at the provider level. This makes users repeat store=false for every model.

Changes

  • Read provider.options.store in ProviderTransform.options and emit it into request options.
  • Add store to the provider options schema so it is documented and validated.

Verification

  • bun test test/config/config.test.ts
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8000 **State:** closed **Merged:** Yes --- ## Background Provider options currently support baseURL/apiKey and setCacheKey, but there is no way to set the OpenAI Responses store flag at the provider level. This makes users repeat store=false for every model. ## Changes - Read provider.options.store in ProviderTransform.options and emit it into request options. - Add store to the provider options schema so it is documented and validated. ## Verification - bun test test/config/config.test.ts
yindo added the pull-request label 2026-02-16 18:17:29 -05:00
yindo closed this issue 2026-02-16 18:17:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12591