summaryrefslogtreecommitdiff
path: root/packages/core/src/utils/nextSpeakerChecker.ts
diff options
context:
space:
mode:
authorSandy Tao <[email protected]>2025-07-12 22:12:47 -0700
committerGitHub <[email protected]>2025-07-13 05:12:47 +0000
commitb29c02dd34ccdfaa018059673e4e6f4ba16e8d30 (patch)
tree214bc437cff1fea825d17ce730fc6fb748f5f7c1 /packages/core/src/utils/nextSpeakerChecker.ts
parent44ef0408f3b09d9b161c64cf12bbf5ad13052598 (diff)
Fix not using flash for next speaker check (#4016)
Diffstat (limited to 'packages/core/src/utils/nextSpeakerChecker.ts')
-rw-r--r--packages/core/src/utils/nextSpeakerChecker.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/core/src/utils/nextSpeakerChecker.ts b/packages/core/src/utils/nextSpeakerChecker.ts
index 165f277a..9d428887 100644
--- a/packages/core/src/utils/nextSpeakerChecker.ts
+++ b/packages/core/src/utils/nextSpeakerChecker.ts
@@ -5,6 +5,7 @@
*/
import { Content, SchemaUnion, Type } from '@google/genai';
+import { DEFAULT_GEMINI_FLASH_MODEL } from '../config/models.js';
import { GeminiClient } from '../core/client.js';
import { GeminiChat } from '../core/geminiChat.js';
import { isFunctionResponse } from './messageInspectors.js';
@@ -131,6 +132,7 @@ export async function checkNextSpeaker(
contents,
RESPONSE_SCHEMA,
abortSignal,
+ DEFAULT_GEMINI_FLASH_MODEL,
)) as unknown as NextSpeakerResponse;
if (