mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
wip console
This commit is contained in:
parent
1acd5445b5
commit
01b18456a3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue