fix cache-control

This commit is contained in:
Dax Raad
2025-06-16 12:07:01 -04:00
parent 2d15c683e0
commit 0e3458b112
2 changed files with 9 additions and 2 deletions

View File

@@ -238,7 +238,9 @@ export namespace Session {
providerOptions: {
...(input.providerID === "anthropic"
? {
cacheControl: { type: "ephemeral" },
anthropic: {
cacheControl: { type: "ephemeral" },
},
}
: {}),
},
@@ -476,7 +478,9 @@ export namespace Session {
providerOptions: {
...(input.providerID === "anthropic"
? {
cacheControl: { type: "ephemeral" },
anthropic: {
cacheControl: { type: "ephemeral" },
},
}
: {}),
},