Enhance provider models and chat handling with new thinking configurations

This commit is contained in:
decolua committed 2026-04-13 12:04:57 +07:00
1 parent ee1271b6fd
commit 4c28a1671d
15 files changed
+142 -421

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ async function intercept(req, res, bodyBuffer, mappedModel) {
try {
const body = JSON.parse(bodyBuffer.toString());
body.model = mappedModel;
const routerRes = await fetchRouter(body);
const routerRes = await fetchRouter(body, "/v1/chat/completions", req.headers);
await pipeSSE(routerRes, res);
} catch (error) {
err(`[Kiro] ${error.message}`);