feat: populate tool call name and id in when token streaming (#2639)

This commit is contained in:
cthomas
2025-06-04 17:06:44 -07:00
committed by GitHub
parent 1f3dd068db
commit a8f394d675
2 changed files with 4 additions and 2 deletions

View File

@@ -295,7 +295,7 @@ class OpenAIStreamingInterface:
id=self.letta_tool_message_id,
date=datetime.now(timezone.utc),
tool_call=ToolCallDelta(
name=None,
name=self.function_name_buffer,
arguments=combined_chunk,
tool_call_id=self.function_id_buffer,
),