Skip to content

[BUG] applyCaching overrides previous provider options #10241

@dpuyosa

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

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