From 58ecc29d5bd838c69460ca76925057926660b1ca Mon Sep 17 00:00:00 2001 From: Aishanee Shah Date: Sun, 8 Feb 2026 15:57:04 +0000 Subject: [PATCH] style: move AfterModel hooks comment in GeminiChat --- packages/core/src/core/geminiChat.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/core/geminiChat.ts b/packages/core/src/core/geminiChat.ts index 6bea67dc0e..8f2c4b9267 100644 --- a/packages/core/src/core/geminiChat.ts +++ b/packages/core/src/core/geminiChat.ts @@ -581,10 +581,11 @@ export class GeminiChat { } } - // Track final request parameters for AfterModel hooks if (this.onModelChanged) { this.tools = await this.onModelChanged(modelToUse); } + + // Track final request parameters for AfterModel hooks lastModelToUse = modelToUse; lastConfig = config; lastContentsToUse = contentsToUse;