File tree Expand file tree Collapse file tree 7 files changed +0
-26
lines changed Expand file tree Collapse file tree 7 files changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,6 @@ async function runBrowserbaseExample() {
7070 await mcpServer . close ( ) ;
7171 console . log ( 'MCP server closed successfully' ) ;
7272
73- console . log ( 'Cleaning up sandbox...' ) ;
74- await sandbox . kill ( ) ;
75- console . log ( 'Sandbox closed successfully' ) ;
7673}
7774
7875// Run the browserbase example
Original file line number Diff line number Diff line change @@ -61,10 +61,6 @@ async function runClaudeCodeExample() {
6161 console . log ( `Visit the research results at: http://${ webserverUrl } /index.html` ) ;
6262 console . log ( `The page contains the paper summary and author information` ) ;
6363
64- // Cleanup
65- console . log ( '\nCleaning up sandbox...' ) ;
66- await sandbox . kill ( ) ;
67- console . log ( 'Sandbox closed successfully' ) ;
6864}
6965
7066// Run the Claude Code example
Original file line number Diff line number Diff line change @@ -58,10 +58,6 @@ async function run() {
5858
5959 console . log ( `\nTotal tools available: ${ tools . tools . length } ` ) ;
6060
61- // Cleanup
62- console . log ( '\nCleaning up sandbox...' ) ;
63- await sandbox . kill ( ) ;
64- console . log ( 'Sandbox closed successfully' ) ;
6561}
6662
6763// Run the example
Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ async function run() {
7878 } ) ;
7979 console . log ( 'Directory contents:' , result . content ) ;
8080
81- // Cleanup
82- console . log ( '\nCleaning up sandbox...' ) ;
83- await sandbox . kill ( ) ;
84- console . log ( 'Sandbox closed successfully' ) ;
8581}
8682
8783// Run the example
Original file line number Diff line number Diff line change @@ -66,10 +66,6 @@ async function runSandboxExample() {
6666
6767 console . log ( `\nTotal tools available: ${ tools . tools . length } ` ) ;
6868
69- // Cleanup
70- console . log ( '\nCleaning up sandbox...' ) ;
71- await sandbox . kill ( ) ;
72- console . log ( 'Sandbox closed successfully' ) ;
7369}
7470
7571runSandboxExample ( ) . catch ( ( error ) => {
Original file line number Diff line number Diff line change @@ -46,10 +46,6 @@ async function runGroqExaExample() {
4646 console . log ( '\nResearch Results:' ) ;
4747 console . log ( response . output_text ) ;
4848
49- // Cleanup
50- console . log ( '\nCleaning up sandbox...' ) ;
51- await sandbox . kill ( ) ;
52- console . log ( 'Sandbox closed successfully' ) ;
5349}
5450
5551// Run the Groq Exa example
Original file line number Diff line number Diff line change @@ -68,9 +68,6 @@ async function runResearchAgent() {
6868 await mcpServer . close ( ) ;
6969 console . log ( 'MCP server closed successfully' ) ;
7070
71- console . log ( 'Cleaning up sandbox...' ) ;
72- await sandbox . kill ( ) ;
73- console . log ( 'Sandbox closed successfully' ) ;
7471}
7572
7673// Run the research agent
You can’t perform that action at this time.
0 commit comments