Skip to content

Commit c3c2002

Browse files
committed
docs: Address PR review comments on remote browser page
Remove unnecessary --break-system-packages flag from pip install commands and clarify that Browser Use comes pre-installed in the kernel-browser template.
1 parent 5e36134 commit c3c2002

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/use-cases/remote-browser.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const sandbox = await Sandbox.create('kernel-browser', {
7676

7777
await sandbox.files.write('/home/user/app.py', FASTAPI_APP)
7878
await sandbox.commands.run(
79-
'pip install --break-system-packages fastapi uvicorn',
79+
'pip install fastapi uvicorn',
8080
{ timeoutMs: 60_000 },
8181
)
8282
await sandbox.commands.run(
@@ -96,7 +96,7 @@ sandbox = Sandbox.create(
9696

9797
sandbox.files.write("/home/user/app.py", FASTAPI_APP)
9898
sandbox.commands.run(
99-
"pip install --break-system-packages fastapi uvicorn",
99+
"pip install fastapi uvicorn",
100100
timeout=60,
101101
)
102102
sandbox.commands.run(
@@ -230,7 +230,7 @@ sandbox = Sandbox.create(
230230
</Step>
231231

232232
<Step title="Write and run the agent">
233-
The agent script runs inside the sandbox. It creates a Kernel browser, connects Browser Use, and completes the task autonomously.
233+
The agent script runs inside the sandbox. Browser Use and its dependencies come pre-installed in the `kernel-browser` template. The script creates a Kernel browser, connects Browser Use, and completes the task autonomously.
234234

235235
<CodeGroup>
236236
```typescript JavaScript & TypeScript

0 commit comments

Comments
 (0)