chore: generate
This commit is contained in:
parent
ccb6b7c3ea
commit
9644a008a4
1 changed files with 1 additions and 3 deletions
|
|
@ -1129,9 +1129,7 @@ export function options(input: {
|
||||||
|
|
||||||
if (
|
if (
|
||||||
input.providerOptions?.setCacheKey !== false &&
|
input.providerOptions?.setCacheKey !== false &&
|
||||||
(input.model.providerID === "openai" ||
|
(input.model.providerID === "openai" || input.model.api.npm === "@ai-sdk/xai" || input.providerOptions?.setCacheKey)
|
||||||
input.model.api.npm === "@ai-sdk/xai" ||
|
|
||||||
input.providerOptions?.setCacheKey)
|
|
||||||
) {
|
) {
|
||||||
result["promptCacheKey"] = input.sessionID
|
result["promptCacheKey"] = input.sessionID
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue