Parcourir la source

chore: generate

opencode-agent[bot] il y a 1 mois
Parent
commit
9644a008a4
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1 3
      packages/opencode/src/provider/transform.ts

+ 1 - 3
packages/opencode/src/provider/transform.ts

@@ -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
   }