The open source coding agent.
TypeScript
wip console
Frank01b18456a30b
diff --git a/cloud/app/src/routes/zen/v1/chat/completions.ts b/cloud/app/src/routes/zen/v1/chat/completions.tsindex aace256ff8e..6f206225c98 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