mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 18:24:21 +01:00
fix openrouter caching with anthropic, should be a lot cheaper
This commit is contained in:
@@ -17,6 +17,9 @@ export namespace ProviderTransform {
|
|||||||
anthropic: {
|
anthropic: {
|
||||||
cacheControl: { type: "ephemeral" },
|
cacheControl: { type: "ephemeral" },
|
||||||
},
|
},
|
||||||
|
openaiCompatible: {
|
||||||
|
cache_control: { type: "ephemeral" },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user