File tree Expand file tree Collapse file tree 3 files changed +15
-35
lines changed
Expand file tree Collapse file tree 3 files changed +15
-35
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # === INSTALL DEPENDENCIES ===
4+ echo " --------------------------"
5+ echo " Installing requirements..."
6+ echo " --------------------------"
7+ pip install -r requirements.txt
8+
9+ # === RUN AGENT ===
10+ echo --------------------------
11+ echo Running initialization...
12+ echo --------------------------
13+ python repl.py
Original file line number Diff line number Diff line change 11@ echo off
2- REM === CONFIGURATION ===
3- set ENABLE_NOTEBOOK = true
4- set ENABLE_MESH = true
5- set NOTEBOOK_PATH = user_notebook.txt
6- set MESH_PORT = 8080
7-
82echo --------------------------
93echo Installing requirements...
104echo --------------------------
@@ -14,16 +8,6 @@ echo --------------------------
148echo Running HMP REPL-agent...
159echo --------------------------
1610
17- set ARGS =
18-
19- if " %ENABLE_NOTEBOOK% " == " true" (
20- set ARGS = %ARGS% --enable-user-notebook --notebook-path %NOTEBOOK_PATH%
21- )
22-
23- if " %ENABLE_MESH% " == " true" (
24- set ARGS = %ARGS% --enable-mesh --mesh-port %MESH_PORT%
25- )
26-
27- python repl.py %ARGS%
11+ python repl.py
2812
2913pause
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # === CONFIG ===
4- ENABLE_NOTEBOOK=true
5- ENABLE_MESH=true
6- MESH_PORT=8080
7- NOTEBOOK_PATH=" user_notebook.txt"
8-
93# === INSTALL DEPENDENCIES ===
104echo " --------------------------"
115echo " Installing requirements..."
126echo " --------------------------"
137pip install -r requirements.txt
148
15- # === BUILD ARGUMENTS ===
16- ARGS=" "
17-
18- if [ " $ENABLE_NOTEBOOK " = true ]; then
19- ARGS=" $ARGS --enable-user-notebook --notebook-path $NOTEBOOK_PATH "
20- fi
21-
22- if [ " $ENABLE_MESH " = true ]; then
23- ARGS=" $ARGS --enable-mesh --mesh-port $MESH_PORT "
24- fi
25-
269# === RUN AGENT ===
2710echo " --------------------------"
2811echo " Running HMP REPL-agent..."
2912echo " --------------------------"
30- python repl.py $ARGS
13+ python repl.py
You can’t perform that action at this time.
0 commit comments