#!/usr/bin/env bash

# omarchy:summary=Open Voxtype AI model setup

set -e

# Based: a model needs voxtype, which is opt-in, so install it first when it is missing.
if omarchy-cmd-missing voxtype; then
  exec omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-install
fi

omarchy-launch-floating-terminal-with-presentation "voxtype setup model"
omarchy-restart-shell
