mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-10 01:58:31 +00:00
chore: generate
This commit is contained in:
parent
632f94fa68
commit
414c037b21
1 changed files with 2 additions and 6 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue