| 44 | |
| 45 | |
| 46 | class DummyUIManager: |
| 47 | def __init__(self): |
| 48 | self.printed_calls = [] # To record calls to print_tool_call |
| 49 | self.is_streaming_response = False # Add missing attribute |
| 50 | |
| 51 | def print_tool_call(self, tool_name, raw_arguments): |
| 52 | self.printed_calls.append((tool_name, raw_arguments)) |
| 53 | |
| 54 | async def finish_tool_execution(self, result=None, success=True): |
| 55 | # Add async method that tool processor expects |
| 56 | pass |
| 57 | |
| 58 | async def do_confirm_tool_execution(self, tool_name, arguments): |
| 59 | # Mock confirmation - always return True for tests |
| 60 | return True |
| 61 | |
| 62 | async def start_tool_execution(self, tool_name, arguments): |
| 63 | # Mock start tool execution - no-op for tests |
| 64 | pass |
| 65 | |
| 66 | |
| 67 | class DummyStreamManager: |
no outgoing calls