#!/usr/bin/env bash set -e cd "$(dirname "$0")/.." HOST="${1:-$(hostname -I 2>/dev/null | awk '{print $1}')}" HOST="${HOST:-127.0.0.1}" MODEL_DIR="$PWD/models/Qwen3.5-0.8B" echo "Starting axllm with model: ${MODEL_DIR}" echo "If axllm starts successfully, use API base URL: http://${HOST}:8000/v1" echo "Voice_Assistant.AXERA config should use local URL: http://127.0.0.1:8000/v1" # This axllm build expects the model path immediately after 'serve'. # Do not pass --host/--port before the model path; it will be parsed as the model path. ./axllm serve "${MODEL_DIR}"