Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ export function SelectedAssistantButton({
className={`flex flex-row items-center ${isSidebar ? "w-full justify-between" : "gap-1.5"}`}
>
<div className="flex min-w-0 flex-1 flex-row items-center gap-2">
{selectedProfile === null ? (
"Create your first agent"
) : configLoading ? (
{configLoading ? (
<span className="text-description flex flex-row items-center">
<ArrowPathIcon
className={cn(
Expand All @@ -45,6 +43,8 @@ export function SelectedAssistantButton({
/>
Loading
</span>
) : selectedProfile === null ? (
"Create your first agent"
) : (
<>
<AssistantIcon assistant={selectedProfile} size={iconSize} />
Expand Down
9 changes: 9 additions & 0 deletions gui/src/hooks/ParallelListeners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ function ParallelListeners() {
);
if (result.status === "success") {
await handleConfigUpdate(true, result.content);

// (hub) config has not yet loaded - will be updated via configUpdate
if (
result.content.profileId === null &&
result.content.result.configLoadInterrupted
) {
dispatch(setConfigLoading(true));
return;
}
}
dispatch(setConfigLoading(false));
}
Expand Down
Loading