A node given a role takes only what asks for it

The judges' machine was selected by the judge's profile, but any other
model could still be placed beside it. A node labelled llmgw.role now
takes only profiles whose selector asks for that role.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-10-19 17:52:30 +02:00
1 parent 51ca09287f
commit 34764f5ef0
4 files changed
+31 -2

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@ import (
"strconv"
"strings"
"gitea.mynodes.xyz/ilker/llmgw/internal/control/placement"
"gitea.mynodes.xyz/ilker/llmgw/internal/onboard"
"gitea.mynodes.xyz/ilker/llmgw/internal/settings"
)
@@ -18,7 +19,7 @@ import (
// judgeRoleLabel marks a node as the judges'.
const (
judgeRoleLabel = "llmgw.role"
judgeRoleLabel = placement.RoleLabel
judgeRoleValue = "judge"
)