diff --git a/gui/src/components/modelSelection/platform/AssistantSelect.tsx b/gui/src/components/modelSelection/platform/AssistantSelect.tsx index ac4a06553..c33f4c707 100644 --- a/gui/src/components/modelSelection/platform/AssistantSelect.tsx +++ b/gui/src/components/modelSelection/platform/AssistantSelect.tsx @@ -279,14 +279,20 @@ export default function AssistantSelect() { style={{ fontSize: fontSize(-3) }} >
-
- -
- - {selectedProfile.title} - + {!loading ? ( + loading... + ) : ( + <> +
+ +
+ + {selectedProfile.title} + + + )}
{ e.stopPropagation(); - refreshProfilesWithLoading().then(() => + void refreshProfilesWithLoading().then(() => buttonRef.current?.click(), ); }} @@ -310,7 +316,7 @@ export default function AssistantSelect() {