File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Here are a few examples of how to use SWE-ReX.
1414``` python
1515import asyncio
1616from swerex.deployment.local import LocalDeployment
17- from swerex.runtime.abstract import CreateSessionRequest , BashAction, Command
17+ from swerex.runtime.abstract import CreateBashSessionRequest , BashAction, Command
1818
1919deployment = LocalDeployment()
2020
@@ -27,7 +27,7 @@ async def run_some_stuff(deployment):
2727 print (await runtime.execute(Command(command = [" echo" , " Hello, world!" ])))
2828
2929 # Create a bash session
30- await runtime.create_session(CreateSessionRequest ())
30+ await runtime.create_session(CreateBashSessionRequest ())
3131
3232 # Run a command in the session
3333 # The difference to the one-off commands is that environment state persists!
@@ -81,4 +81,4 @@ So what's going on here? There's multiple steps:
8181
8282## Running with modal
8383
84- ...
84+ ...
You can’t perform that action at this time.
0 commit comments