# v0.4.52 (2026-05-17)
## Features - Add Vercel AI Gateway provider support (#1183) - rtk: Kiro format tool result compression — handle conversationState.history & currentMessage, preserve error results, ~13.6% savings (#1194) ## Fixes - openclaw: normalize agent.model object form `{primary, fallbacks}` before .startsWith → fix TypeError & 'not configured' status (#1216) - Usage Details pagination: stay inside mobile viewport <640px (#1218) - Fix test model error - Fix MIMO provider in Codex - Disable log file creation when using MITM AG
This commit is contained in:
1 parent
9326589452
commit
9abbb8ad9b
12 files changed
+188
-79
No files matched your search
@@ -1,4 +1,5 @@
|
||||
const { err, createResponseDumper } = require("../logger");
|
||||
const { IS_DEV } = require("../config");
|
||||
const { fetchRouter, pipeSSE } = require("./base");
|
||||
|
||||
/**
|
||||
@@ -7,7 +8,7 @@ const { fetchRouter, pipeSSE } = require("./base");
|
||||
* runs antigravity→openai→provider→openai→antigravity translators internally.
|
||||
*/
|
||||
async function intercept(req, res, bodyBuffer, mappedModel) {
|
||||
const dumper = createResponseDumper(req, "intercept-antigravity");
|
||||
const dumper = IS_DEV ? createResponseDumper(req, "intercept-antigravity") : null;
|
||||
const isStream = req.url.includes(":streamGenerateContent");
|
||||
try {
|
||||
const body = JSON.parse(bodyBuffer.toString());
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
const { err } = require("../logger");
|
||||
const { IS_DEV } = require("../config");
|
||||
const { fetchRouter } = require("./base");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
// Debug trace log — written to data/logs/mitm/kiro-debug.log
|
||||
// Debug trace log — written to data/logs/mitm/kiro-debug.log (dev only)
|
||||
const DEBUG_LOG = path.join(__dirname, "../../../data/logs/mitm/kiro-debug.log");
|
||||
function dbg(msg) {
|
||||
if (!IS_DEV) return;
|
||||
try {
|
||||
fs.appendFileSync(DEBUG_LOG, `${new Date().toISOString()} ${msg}\n`);
|
||||
} catch {}
|
||||
|
||||
Reference in new issue
Block a user