Skip to content

The open source coding agent.

TypeScript

fix write tool timeout

Dax Raade99bdcefac44
diff --git a/packages/opencode/src/lsp/client.ts b/packages/opencode/src/lsp/client.ts
index b1da5af3f44..f06a8c68c86 100644
--- a/packages/opencode/src/lsp/client.ts
+++ b/packages/opencode/src/lsp/client.ts
@@ -163,10 +163,12 @@ export namespace LSPClient {
}
})
}),
- 5000,
- ).finally(() => {
- unsub?.()
- })
+ 3000,
+ )
+ .catch(() => {})
+ .finally(() => {
+ unsub?.()
+ })
},
async shutdown() {
log.info("shutting down", { serverID })