diff --git a/packages/opencode/src/cli/cmd/run.ts b/packages/opencode/src/cli/cmd/run.ts index 468eac7baa..6f4508cb0b 100644 --- a/packages/opencode/src/cli/cmd/run.ts +++ b/packages/opencode/src/cli/cmd/run.ts @@ -843,9 +843,7 @@ export const RunCommand = effectCmd({ const headers = new Headers(request.headers) const auth = ServerAuth.header() if (auth) headers.set("Authorization", auth) - return Server.Default().app.fetch( - new Request(request, { headers }), - ) + return Server.Default().app.fetch(new Request(request, { headers })) }) as typeof globalThis.fetch try { @@ -883,9 +881,7 @@ export const RunCommand = effectCmd({ const headers = new Headers(request.headers) const auth = ServerAuth.header() if (auth) headers.set("Authorization", auth) - return Server.Default().app.fetch( - new Request(request, { headers }), - ) + return Server.Default().app.fetch(new Request(request, { headers })) }) as typeof globalThis.fetch const sdk = createOpencodeClient({ baseUrl: "http://opencode.internal",