This commit is contained in:
decolua
2026-03-03 15:52:20 +07:00
parent 07d4cdfa7e
commit f2306e6962
4 changed files with 77 additions and 36 deletions
-1
View File
@@ -140,7 +140,6 @@ async function passthrough(req, res, bodyBuffer) {
async function intercept(req, res, bodyBuffer, mappedModel) {
try {
const body = JSON.parse(bodyBuffer.toString());
console.log("🚀 ~ intercept ~ body:", body)
body.model = mappedModel;
const response = await fetch(ROUTER_URL, {