Просмотр исходного кода

fix: promptCacheKey set unnecessarily

Aiden Cline 3 месяцев назад
Родитель
Сommit
cf266f6162
1 измененных файлов с 1 добавлено и 1 удалено
  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 {
     const result: Record<string, any> = {}
 
-    if (providerID === "openai" || npm.includes("openai")) {
+    if (providerID === "openai") {
       result["promptCacheKey"] = sessionID
     }