mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-10 03:19:59 -04:00
refactor(core): remove redundant model catalog die
This commit is contained in:
@@ -236,7 +236,6 @@ const layer = Layer.effect(
|
||||
Effect.catch((error) =>
|
||||
Effect.logError("Failed to fetch models.dev", { error }).pipe(Effect.as({} as Record<string, Provider>)),
|
||||
),
|
||||
Effect.orDie,
|
||||
)
|
||||
|
||||
const [cachedGet, invalidate] = yield* Effect.cachedInvalidateWithTTL(populate, Duration.infinity)
|
||||
|
||||
Reference in New Issue
Block a user