### Description `transform.applyCaching` overrides previous `providerOptions` like the one set in `transform.normalizeMessages` for `openaiCompatible`. ### Plugins - ### OpenCode version 1.1.34 ### Steps to reproduce For example have a OpenaiCompatible provider with a Claude model and interleaving. The interleaving is supposed to add a `providerOption` with the reasoning part in `transform.normalizeMessages`, but it doesnt appear in the final prompt. ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
Activity
github-actions commentedon Jan 23, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if this doesn't address your specific case.
[-][BUG] applyCaching overrides openaiCompatible provider options[/-][+][BUG] applyCaching overrides previous provider options[/+]adolago commentedon Jan 23, 2026
Fixed: applyCaching now deep-merges providerOptions so earlier normalizeMessages options (e.g., openaiCompatible reasoning) are preserved. Commit: 45515ab.
fix(provider): deep merge providerOptions in applyCaching
fix(provider): use deep merge for providerOptions in applyCaching - I…
fix(provider): use deep merge for providerOptions in applyCaching - I…