style: move AfterModel hooks comment in GeminiChat

This commit is contained in:
Aishanee Shah
2026-02-08 15:57:04 +00:00
parent 62c46dd8db
commit 58ecc29d5b

View File

@@ -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;