added models, model-swap, ...
This commit is contained in:
14
bin/swap-model
Executable file
14
bin/swap-model
Executable 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 "$@"
|
||||
Reference in New Issue
Block a user