You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Preselect a model in the blank automation wizard #5214
Part 2 of #5013 (creating an automation is more complicated than it should be), split off by the Lead's decision on #5013.
Where it is complicated
The Blank automation wizard's Model field starts empty (services/platform/app/features/automations/components/blank-automation-dialog.tsx:130) and is required (:228-229, together with name and instructions). Next stays disabled until a model is picked, even though it is the one field a new author is least able to answer. Checked at df6105cef08a78084439c029d5917611c4adcf54.
Change
Preselect the model the organization offers by default, the one the chat's model picker starts with, and keep it editable. With no usable model, the field stays empty and the dialog says how to get one, the same way the chat does after #5212.
Done when
A unit test in blank-automation-dialog.test.tsx proves the preselection: with models on offer, name and instructions alone enable Next.
The same test proves that with no model on offer, Next stays disabled and the hint shows.
Activity
feat(platform): preselect a model in the Blank automation wizard
test(platform): add a manual box for the Blank wizard's starting model
test(platform): give the starting-model tests constant abilities
fix(platform): keep Responses-only models out of the Blank wizard