|
|
@@ -1129,9 +1129,7 @@ export function options(input: {
|
|
|
|
|
|
if (
|
|
|
input.providerOptions?.setCacheKey !== false &&
|
|
|
- (input.model.providerID === "openai" ||
|
|
|
- input.model.api.npm === "@ai-sdk/xai" ||
|
|
|
- input.providerOptions?.setCacheKey)
|
|
|
+ (input.model.providerID === "openai" || input.model.api.npm === "@ai-sdk/xai" || input.providerOptions?.setCacheKey)
|
|
|
) {
|
|
|
result["promptCacheKey"] = input.sessionID
|
|
|
}
|