diff --git a/deploy/hyperborea/crossbar.toml b/deploy/hyperborea/crossbar.toml index 9fb91c8..e8d63ab 100644 --- a/deploy/hyperborea/crossbar.toml +++ b/deploy/hyperborea/crossbar.toml @@ -22,9 +22,9 @@ models = { "ornith-1.5-35b-a3b" = { parallel = 4 }, "ornith-1.5-9b-uncensored" # Magic packets are L2 broadcast; hyperborea is wired on the 192.168.88.0/24 segment, so this # only reaches titan while it is on that network. Wake over Wi-Fi on Apple Silicon is unverified. [hosts.titan.wake] -mac = "5e:fc:f2:3f:23:6b" # en0 active (private) address; hardware MAC is 60:3e:5f:33:6f:b8 -broadcast = "192.168.88.255:9" -wait = "45s" +mac = "5e:fc:f2:3f:23:6b" # en0 active (private) address; hardware MAC is 60:3e:5f:33:6f:b8 +broadcasts = ["192.168.88.255:9", "192.168.1.255:9"] # both home segments hyperborea sits on (eth0 / wlan0) +wait = "45s" [hosts.straylight] base_url = "http://straylight.scylla-hammerhead.ts.net:11434" @@ -62,6 +62,21 @@ default_model = "ornith-1.5-35b-a3b" hosts = ["titan", "straylight", "dixie"] default_model = "ornith-1.5-35b-a3b" +# Templates (v2.2): a route named "x-*" serves any request route "x-"; each concrete +# route keeps its own lease and usage row. This is what the per-instance OpenCode launcher uses: +# CROSSBAR_ROUTE="opencode-$(basename "$PWD")-$$" exec opencode "$@" +[routes."opencode-*"] +hosts = ["titan", "straylight"] +default_model = "ornith-1.5-35b-a3b" + +[routes."hermes-*"] +hosts = ["straylight", "titan", "dixie"] +default_model = "ornith-1.5-35b-a3b" + [routes.probe] # for operators: curl tests, never a real client hosts = ["dixie", "straylight", "titan"] default_model = "ornith-1.5-9b-uncensored" + +[routes."probe-*"] # templated probes, e.g. /probe-anything/v1 +hosts = ["dixie", "straylight", "titan"] +default_model = "ornith-1.5-9b-uncensored"