Explorar el Código

fix issue with conversations hanging

Dax Raad hace 1 año
padre
commit
b72e17a8b7
Se han modificado 1 ficheros con 1 adiciones y 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) {