File size: 664 Bytes
56f5c1f
f9714b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash

# === CONFIG ===
ENABLE_NOTEBOOK=true
ENABLE_MESH=true
MESH_PORT=8080
NOTEBOOK_PATH="user_notebook.txt"

# === INSTALL DEPENDENCIES ===
echo "--------------------------"
echo "Installing requirements..."
echo "--------------------------"
pip install -r requirements.txt

# === BUILD ARGUMENTS ===
ARGS=""

if [ "$ENABLE_NOTEBOOK" = true ]; then
  ARGS="$ARGS --enable-user-notebook --notebook-path $NOTEBOOK_PATH"
fi

if [ "$ENABLE_MESH" = true ]; then
  ARGS="$ARGS --enable-mesh --mesh-port $MESH_PORT"
fi

# === RUN AGENT ===
echo "--------------------------"
echo "Running HMP REPL-agent..."
echo "--------------------------"
python repl.py $ARGS