opencode-agent[bot] пре 4 месеци
родитељ
комит
30e3fa1de9
2 измењених фајлова са 6 додато и 2 уклоњено
  1. 3 1
      packages/opencode/src/data-migration.ts
  2. 3 1
      packages/opencode/src/provider/models.ts

+ 3 - 1
packages/opencode/src/data-migration.ts

@@ -145,7 +145,9 @@ export const layer = Layer.effect(
         )
         )
       }
       }
     }).pipe(
     }).pipe(
-      Effect.tapCause((cause) => Effect.logError("failed to run data migrations").pipe(Effect.annotateLogs("cause", cause))),
+      Effect.tapCause((cause) =>
+        Effect.logError("failed to run data migrations").pipe(Effect.annotateLogs("cause", cause)),
+      ),
       Effect.ignore,
       Effect.ignore,
       Effect.forkScoped,
       Effect.forkScoped,
     )
     )

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

@@ -177,7 +177,9 @@ export const layer: Layer.Layer<Service, never, AppFileSystem.Service | HttpClie
           yield* invalidate
           yield* invalidate
         }),
         }),
       ).pipe(
       ).pipe(
-        Effect.tapCause((cause) => Effect.logError("Failed to fetch models.dev").pipe(Effect.annotateLogs("cause", cause))),
+        Effect.tapCause((cause) =>
+          Effect.logError("Failed to fetch models.dev").pipe(Effect.annotateLogs("cause", cause)),
+        ),
         Effect.ignore,
         Effect.ignore,
       )
       )
     })
     })