Skip to content

Commit d5dca80

Browse files
committed
Update realtime_api.ts
1 parent da9b125 commit d5dca80

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/google/src/beta/realtime/realtime_api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,9 +684,9 @@ export class RealtimeSession extends llm.RealtimeSession {
684684
async generateReply(instructions?: string): Promise<llm.GenerationCreatedEvent> {
685685
if (this.options.model === 'gemini-3.1-flash-live-preview') {
686686
this.#logger.warn(
687-
'generate_reply is not compatible with gemini-3.1-flash-live-preview and will be ignored.',
687+
'generateReply is not compatible with gemini-3.1-flash-live-preview and will be ignored.',
688688
);
689-
throw new Error("generate_reply is not compatible with 'gemini-3.1-flash-live-preview'");
689+
throw new Error("generateReply is not compatible with 'gemini-3.1-flash-live-preview'");
690690
}
691691

692692
if (this.pendingGenerationFut && !this.pendingGenerationFut.done) {

0 commit comments

Comments
 (0)