File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
plugins/google/src/beta/realtime Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @livekit/agents-plugin-google ' : minor
3+ ---
4+
5+ expose toolBehavior and toolResponseScheduling
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ export class RealtimeModel extends llm.RealtimeModel {
296296
297297 /**
298298 * Tool behavior for function calls (BLOCKING or NON_BLOCKING)
299- * Defaults to NON_BLOCKING to prevent generateReply timeouts
299+ * Defaults to BLOCKING
300300 */
301301 toolBehavior ?: Behavior ;
302302
@@ -361,7 +361,7 @@ export class RealtimeModel extends llm.RealtimeModel {
361361 contextWindowCompression : options . contextWindowCompression ,
362362 apiVersion : options . apiVersion ,
363363 geminiTools : options . geminiTools ,
364- toolBehavior : options . toolBehavior ?? Behavior . NON_BLOCKING ,
364+ toolBehavior : options . toolBehavior ?? Behavior . BLOCKING ,
365365 toolResponseScheduling :
366366 options . toolResponseScheduling ?? FunctionResponseScheduling . WHEN_IDLE ,
367367 } ;
You can’t perform that action at this time.
0 commit comments