ToolException breaking DuoAgent Platform Session
Problem
When a read/write file tool tries to access files which should by default not be accessible, such as in the .git directory, a ToolException error is raised as implemented in !2997 (merged).
When this happens the expected behavior would be that the llm get's the reply that the file/folder is not accessible but otherwise the session continues to execute.
Unfortunately we see in our tracking that there are sessions where after the Exception being raised the Session crashes.
Affected workflow_id in the last week:
1035905, 1031690, 1032981, 1032997, 51, 1034545, 1034579, 1035144, 1035904, 1035905, 1036139, 1036891, 1037042, 1037277, 1037656, 1037927, 1037928, 1037931, 1038094, 1038246, 1038534, 1039417, 1039572, 1039687, 1040351, 1040563, 1040935, 1041316, 1041321, 1041490
Desired Outcome
Sessions don't crash because of ToolException errors.
Implementation Plan
TBD