Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions unstract/sdk1/src/unstract/sdk1/tool/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,14 +271,6 @@ def write_tool_result(self, data: str | dict[str, Any]) -> None:
f"but {type(data)} is passed"
)

# TODO: Review if below is necessary
result = {
"workflow_id": self.workflow_id,
"elapsed_time": self.elapsed_time(),
"output": data,
}
self.stream_result(result)

self._update_exec_metadata()
# INFILE is overwritten for next tool to run
input_file_path: Path = Path(self.get_input_file())
Expand Down