Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: gemini streaming bug (#9555)
cthomase2ad8762feb7
diff --git a/letta/interfaces/gemini_streaming_interface.py b/letta/interfaces/gemini_streaming_interface.pyindex 52aea188c..21c8ddf33 100644--- a/letta/interfaces/gemini_streaming_interface.py+++ b/letta/interfaces/gemini_streaming_interface.py@@ -329,12 +329,10 @@ class SimpleGeminiStreamingInterface:self.collected_tool_calls.append(ToolCall(id=call_id, function=FunctionCall(name=name, arguments=arguments_str)))if self.tool_call_name and self.tool_call_name in self.requires_approval_tools:- tool_call_delta = (- ToolCallDelta(- name=name,- arguments=arguments_str,- tool_call_id=call_id,- ),+ tool_call_delta = ToolCallDelta(+ name=name,+ arguments=arguments_str,+ tool_call_id=call_id,)yield ApprovalRequestMessage(