Skip to content

[BUG] applyCaching overrides previous provider options #10241

Closed

Description

@dpuyosa

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

  1. github-actions commented on Jan 23, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if this doesn't address your specific case.

  2. changed the title [-][BUG] applyCaching overrides openaiCompatible provider options[/-] [+][BUG] applyCaching overrides previous provider options[/+] on Jan 23, 2026
  3. adolago commented on Jan 23, 2026

    @adolago

    Fixed: applyCaching now deep-merges providerOptions so earlier normalizeMessages options (e.g., openaiCompatible reasoning) are preserved. Commit: 45515ab.

  4. added a commit that references this issue on Jan 24, 2026
    052bff2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions