allow creating basic inference resource

This commit is contained in:
Owen
2026-08-04 14:22:36 -04:00
parent 0b30cfc341
commit 973925b35d
4 changed files with 51 additions and 9 deletions
@@ -164,7 +164,10 @@ const createSiteResourceSchema = z
.refine(
(data) => {
// destination is only optional for ssh mode with native authDaemonMode
if (data.mode === "ssh" && data.authDaemonMode === "native") {
if (
(data.mode === "ssh" && data.authDaemonMode === "native") ||
data.mode == "inference"
) {
return true;
}
return (