mirror of
https://github.com/sst/opencode.git
synced 2025-07-07 16:14:59 +00:00
fix openrouter caching with anthropic, should be a lot cheaper
This commit is contained in:
parent
af064b41d7
commit
969ad80ed2
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ export namespace ProviderTransform {
|
|||
anthropic: {
|
||||
cacheControl: { type: "ephemeral" },
|
||||
},
|
||||
openaiCompatible: {
|
||||
cache_control: { type: "ephemeral" },
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue