chore: generate
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user