feat(multirun): enforce maximum model selection limit and update UI hints

This commit is contained in:
Bohdan Triapitsyn
2026-01-02 22:03:10 +02:00
parent 110b0e5d8f
commit 32c83f0c10
2 changed files with 12 additions and 1 deletions
@@ -91,6 +91,11 @@ export const useMultiRunStore = create<MultiRunStore>()(
return null;
}
if (models.length > 5) {
set({ error: 'Maximum 5 models allowed' });
return null;
}
set({ isLoading: true, error: null });
try {