diff options
| author | Frank <[email protected]> | 2025-09-03 14:09:39 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-09-03 14:09:39 -0400 |
| commit | 01b18456a30b1890370ecaf02baca414ed5da66c (patch) | |
| tree | c587130a38af1451783bb6d4fd12ae6311de2781 /cloud | |
| parent | 1acd5445b5491754233a38450d5bae05f19575ab (diff) | |
| download | opencode-01b18456a30b1890370ecaf02baca414ed5da66c.tar.gz opencode-01b18456a30b1890370ecaf02baca414ed5da66c.zip | |
wip console
Diffstat (limited to 'cloud')
| -rw-r--r-- | cloud/app/src/routes/zen/v1/chat/completions.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/app/src/routes/zen/v1/chat/completions.ts b/cloud/app/src/routes/zen/v1/chat/completions.ts index aace256ff..6f206225c 100644 --- a/cloud/app/src/routes/zen/v1/chat/completions.ts +++ b/cloud/app/src/routes/zen/v1/chat/completions.ts @@ -69,7 +69,7 @@ export async function POST(input: APIEvent) { await checkCredits() // Request to model provider - const res = await fetch(new URL(url.pathname.replace(/^\/gateway/, "") + url.search, MODEL.api), { + const res = await fetch(new URL(url.pathname.replace(/^\/zen/, "") + url.search, MODEL.api), { method: "POST", headers: (() => { const headers = input.request.headers |
