We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac891b6 commit 3dda5a1Copy full SHA for 3dda5a1
1 file changed
packages/opencode/src/tool/read.ts
@@ -87,7 +87,8 @@ export const ReadTool = Tool.define(
87
})
88
89
const warm = Effect.fn("ReadTool.warm")(function* (filepath: string) {
90
- yield* lsp.touchFile(filepath).pipe(Effect.ignore, Effect.forkIn(scope))
+ // LSP warm-up is optional; do not let a background defect fail an otherwise successful read.
91
+ yield* lsp.touchFile(filepath).pipe(Effect.ignoreCause, Effect.forkIn(scope))
92
93
94
const readSample = Effect.fn("ReadTool.readSample")(function* (
0 commit comments