diff --git a/interpreter/computer_use/loop.py b/interpreter/computer_use/loop.py index ca0c613a9..cc2be5e48 100755 --- a/interpreter/computer_use/loop.py +++ b/interpreter/computer_use/loop.py @@ -487,6 +487,8 @@ async def tool_output_callback(result: ToolResult, tool_id: str): print_markdown("\nWe'll email you shortly. ✓\n---\n") continue + elif user_input.strip()=="": + continue messages.append( {"role": "user", "content": [{"type": "text", "text": user_input}]}