added models, model-swap, ...

This commit is contained in:
2026-06-26 08:13:33 -04:00
parent de1635872f
commit 224afbb3a6
18 changed files with 1659 additions and 243 deletions

14
bin/swap-model Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Mac-side wrapper for swap-model on the Framework Desktop.
#
# Symlink or alias this so `swap-model X` works from any shell:
# ln -s "$(pwd)/bin/swap-model" /usr/local/bin/swap-model
# (or add ~/Documents/obsidian/localgenai/bin to PATH)
#
# Talks to whichever host name resolves the Framework Desktop. Default
# `framework` works whether you're on the LAN (mDNS/etc/hosts) or
# remote (Tailscale MagicDNS). Override per-shell when needed:
# SWAP_MODEL_HOST=10.0.0.70 swap-model 235b
#
# Assumes your SSH public key is in the box's authorized_keys.
exec ssh "${SWAP_MODEL_HOST:-framework}" /usr/local/bin/swap-model "$@"