Explorar o código

fix issue with conversations hanging

Dax Raad hai 1 ano
pai
achega
b72e17a8b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/opencode/src/session/system.ts

+ 1 - 1
packages/opencode/src/session/system.ts

@@ -114,7 +114,7 @@ export namespace SystemPrompt {
         .text()
         .catch(() => ""),
     )
-    return Promise.all(found).then(Boolean)
+    return Promise.all(found).then((result) => result.filter(Boolean))
   }
 
   export function summarize(providerID: string) {