Browse Source

fix: promptCacheKey set unnecessarily

Aiden Cline 3 months ago
parent
commit
cf266f6162
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/opencode/src/provider/transform.ts

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

@@ -136,7 +136,7 @@ export namespace ProviderTransform {
   ): Record<string, any> | undefined {
   ): Record<string, any> | undefined {
     const result: Record<string, any> = {}
     const result: Record<string, any> = {}
 
 
-    if (providerID === "openai" || npm.includes("openai")) {
+    if (providerID === "openai") {
       result["promptCacheKey"] = sessionID
       result["promptCacheKey"] = sessionID
     }
     }