run configure_mlx.sh in run.sh

This commit is contained in:
Alex Cheema
2025-08-04 03:59:42 +08:00
parent 6855a7727d
commit f352ddfc5f
2 changed files with 3 additions and 0 deletions

0
configure_mlx.sh Normal file → Executable file
View File

3
run.sh
View File

@@ -31,6 +31,9 @@ if [ "$CLEAN" = true ]; then
rm -f ~/.exo_replica/*db*
fi
# Configure MLX
./configure_mlx.sh
# First command (worker) - changes based on replica flag
if [ "$REPLICA" = true ]; then
osascript -e "tell app \"Terminal\" to do script \"cd '$DIR'; nix develop -c bash -c 'export EXO_HOME=.exo_replica; uv run -m worker.main'\""