Skip to content

Commit 493aa41

Browse files
committed
bugfix
1 parent ca1812f commit 493aa41

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/robusta/core/sinks/robusta/dal/model_conversion.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ def append_to_structured_data_tool_calls(tool_calls: List[ToolCallResult], struc
9797

9898
@staticmethod
9999
def append_to_structured_files(files: List[FileBlock], structured_data) -> None:
100+
if not files:
101+
return
100102
for file in files:
101103
file_name = file.filename # changes after zip
102104
file.zip()

0 commit comments

Comments
 (0)