From 128ff34f8e3be78aa1891e17c976df1e99ef976a Mon Sep 17 00:00:00 2001 From: ALI MANSOOR <59325559+TheAli711@users.noreply.github.com> Date: Wed, 12 Nov 2025 14:40:21 +0500 Subject: [PATCH] [fix] remove id field to align with v1 of google Removed 'id' field from function call and response. v1beta1 was accepting it, but v1 is not. --- livekit-agents/livekit/agents/llm/_provider_format/google.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/livekit-agents/livekit/agents/llm/_provider_format/google.py b/livekit-agents/livekit/agents/llm/_provider_format/google.py index 10dfa88893..399f385240 100644 --- a/livekit-agents/livekit/agents/llm/_provider_format/google.py +++ b/livekit-agents/livekit/agents/llm/_provider_format/google.py @@ -56,7 +56,6 @@ def to_chat_ctx( parts.append( { "function_call": { - "id": msg.call_id, "name": msg.name, "args": json.loads(msg.arguments or "{}"), } @@ -67,7 +66,6 @@ def to_chat_ctx( parts.append( { "function_response": { - "id": msg.call_id, "name": msg.name, "response": response, }