opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat: allow provider-level store option

Open cyhhao opened this issue 3 days ago • 2 comments

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

cyhhao avatar Jan 12 '26 13:01 cyhhao