From 333fe9028a0d4d7b2e9b2c5907d2d1656d997c1a Mon Sep 17 00:00:00 2001 From: vivganes Date: Tue, 27 Jan 2026 19:57:16 +0530 Subject: [PATCH 1/2] Fixes #227 - Premium requests consumed while running py dev test --- python/e2e/test_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/e2e/test_session.py b/python/e2e/test_session.py index 92ce9e0f..4bab4ed2 100644 --- a/python/e2e/test_session.py +++ b/python/e2e/test_session.py @@ -330,7 +330,7 @@ async def test_should_abort_a_session(self, ctx: E2ETestContext): # Send a message that will trigger a long-running shell command await session.send( - {"prompt": "run the shell command 'sleep 100' (works on bash and PowerShell)"} + {"prompt": "run the shell command 'sleep 100' (note this works on both bash and PowerShell)"} ) # Wait for the tool to start executing From 51fef00b6564977e0696ffceb4a53d195eb2bdc8 Mon Sep 17 00:00:00 2001 From: vivganes Date: Tue, 27 Jan 2026 21:50:37 +0530 Subject: [PATCH 2/2] fix ci build --- python/e2e/test_session.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python/e2e/test_session.py b/python/e2e/test_session.py index 4bab4ed2..022548e5 100644 --- a/python/e2e/test_session.py +++ b/python/e2e/test_session.py @@ -330,7 +330,12 @@ async def test_should_abort_a_session(self, ctx: E2ETestContext): # Send a message that will trigger a long-running shell command await session.send( - {"prompt": "run the shell command 'sleep 100' (note this works on both bash and PowerShell)"} + { + "prompt": ( + "run the shell command 'sleep 100' " + "(note this works on both bash and PowerShell)" + ) + } ) # Wait for the tool to start executing