fix(antigravity): scope cached thought signatures to the model family

This commit is contained in:
Louis Phạm committed 2026-09-18 17:09:36 +07:00
1 parent 092c84eac9
commit bc3be0cb28
5 files changed
+149 -16

No files matched your search

+1 -1
View File
@@ -212,7 +212,7 @@ export class AntigravityExecutor extends BaseExecutor {
const modifiedParts = parts?.map(p => {
if (!p.functionCall) return p;
const callId = p.functionCall.id;
const cachedSig = callId ? getGeminiThoughtSignatureSync(callId, sessionId) : null;
const cachedSig = callId ? getGeminiThoughtSignatureSync(callId, sessionId, body.model || model) : null;
const callSig = p.thoughtSignature || cachedSig || (!firstFunctionCallSeen ? DEFAULT_THINKING_AG_SIGNATURE : undefined);
firstFunctionCallSeen = true;
if (callSig) {