wip console

This commit is contained in:
Frank
2025-09-03 14:09:39 -04:00
parent 1acd5445b5
commit 01b18456a3

View File

@@ -69,7 +69,7 @@ export async function POST(input: APIEvent) {
await checkCredits() await checkCredits()
// Request to model provider // 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", method: "POST",
headers: (() => { headers: (() => {
const headers = input.request.headers const headers = input.request.headers