fix: ensure azure sets prompt cache key by default (#22957)
This commit is contained in:
parent
dbe2ff52b2
commit
cb18f2ef40
1 changed files with 1 additions and 0 deletions
|
|
@ -798,6 +798,7 @@ export function options(input: {
|
||||||
|
|
||||||
if (input.model.api.npm === "@ai-sdk/azure") {
|
if (input.model.api.npm === "@ai-sdk/azure") {
|
||||||
result["store"] = true
|
result["store"] = true
|
||||||
|
result["promptCacheKey"] = input.sessionID
|
||||||
}
|
}
|
||||||
|
|
||||||
if (input.model.api.npm === "@openrouter/ai-sdk-provider") {
|
if (input.model.api.npm === "@openrouter/ai-sdk-provider") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue