#!/bin/bash # 停止本地 MLX 模型服务(oMLX:chat + embedding 一体) # 用法: ./scripts/stop_models.sh if pgrep -f "[o]mlx-server" >/dev/null 2>&1; then pkill -f "[o]mlx-server" echo "[stop] oMLX 18080 (chat+embedding)" else echo "oMLX 未在运行" fi