feat(llm): rename inference services dropping 'default' from names
frank-default-large -> frank-large (Dankclaw :7770), frank-default-small -> frank-small (Dankserver :7770), frank-default-sightsound -> frank-npu (Dankclaw :7771). Units, env files, serve scripts, deploy-plan mappings, deploy-remote dispatch (stop/disable old units + relink + enable new), and the test seams move together. Retired frank-default-npu.* artifacts moved to scripts/.AGENTTRASH/ (tracked-in-history; ignored on disk). Served aliases become frank-large / frank-small via --alias; the NPU endpoint serves the whole FLM registry, so its rename changes no served tags.
This commit is contained in:
1 parent
1e491fa69f
commit
69f87c8483
34 files changed
+136
-137
No files matched your search
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Seam: LLM systemd unit integrity.
|
||||
# Every LLM unit (frank-default-*.service) must point at files that exist in
|
||||
# Every LLM unit (frank-*.service) must point at files that exist in
|
||||
# this repo. The homepage-status unit is a different pattern (it installs to
|
||||
# /usr/local/bin and runs from /srv at deploy time) and is not checked here.
|
||||
# The units reference absolute paths on the target checkout
|
||||
@@ -50,7 +50,7 @@ unit_repo_path() {
|
||||
echo "$bad"
|
||||
return 1
|
||||
fi
|
||||
done < <(find "$REPO_ROOT/scripts" -name 'frank-default-*.service' -type f | sort)
|
||||
done < <(find "$REPO_ROOT/scripts" -name "frank-*.service" -type f | grep -v AGENTTRASH | sort)
|
||||
[ "$any" -eq 1 ] || skip "no LLM units yet"
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ unit_repo_path() {
|
||||
echo "unit $(basename "$unit") env file $envfile not in repo"
|
||||
return 1
|
||||
}
|
||||
done < <(find "$REPO_ROOT/scripts" -name 'frank-default-*.service' -type f | sort)
|
||||
done < <(find "$REPO_ROOT/scripts" -name "frank-*.service" -type f | grep -v AGENTTRASH | sort)
|
||||
}
|
||||
|
||||
@test "LLM serve scripts exist for every unit" {
|
||||
@@ -78,5 +78,5 @@ unit_repo_path() {
|
||||
echo "unit $svc: ExecStart script $script not in repo"
|
||||
return 1
|
||||
}
|
||||
done < <(find "$REPO_ROOT/scripts" -name 'frank-default-*.service' -type f | sort)
|
||||
done < <(find "$REPO_ROOT/scripts" -name "frank-*.service" -type f | grep -v AGENTTRASH | sort)
|
||||
}
|
||||
Reference in new issue
Block a user