From 70c9bf279a0056c626c70a381e74d3e694cbd5ca Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Thu, 28 May 2026 09:06:16 -0300 Subject: [PATCH] fix(F3): pass sourceModel to agentBridgeHook.recordRequestStart hookBufferStart was calling recordRequestStart without sourceModel, causing the field to be null even when extractSourceModel returned a value from the body. Now forwards the extracted model so the Traffic Inspector buffer entry is populated correctly. --- src/mitm/handlers/base.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mitm/handlers/base.ts b/src/mitm/handlers/base.ts index 40f098ff49..8709e71e2f 100644 --- a/src/mitm/handlers/base.ts +++ b/src/mitm/handlers/base.ts @@ -219,6 +219,7 @@ export abstract class MitmHandlerBase { body, agentId: this.agentId, mappedModel, + sourceModel: this.extractSourceModel(body), }); } catch { // Hook should never break interception — fall through to local stub.