We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6ce6f commit 32e0b61Copy full SHA for 32e0b61
packages/opencode/src/session/system.ts
@@ -123,7 +123,7 @@ export namespace SystemPrompt {
123
.then((x) => "Instructions from: " + p + "\n" + x),
124
)
125
const foundUrls = urls.map((url) =>
126
- fetch(url)
+ fetch(url, { signal: AbortSignal.timeout(5000) })
127
.then((res) => (res.ok ? res.text() : ""))
128
.catch(() => "")
129
.then((x) => (x ? "Instructions from: " + url + "\n" + x : "")),
0 commit comments