chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-02 18:00:11 +00:00
parent f8738c9002
commit b3a7513765
2 changed files with 7 additions and 10 deletions

View File

@@ -127,12 +127,10 @@ export const layer: Layer.Layer<Service, never, AppFileSystem.Service | HttpClie
)
})
const loadFromDisk = fs
.readJson(Flag.OPENCODE_MODELS_PATH ?? filepath)
.pipe(
Effect.catch(() => Effect.succeed(undefined)),
Effect.map((v) => v as Record<string, Provider> | undefined),
)
const loadFromDisk = fs.readJson(Flag.OPENCODE_MODELS_PATH ?? filepath).pipe(
Effect.catch(() => Effect.succeed(undefined)),
Effect.map((v) => v as Record<string, Provider> | undefined),
)
// Bundled at build time; absent in dev — `tryPromise` covers both.
const loadSnapshot = Effect.tryPromise({