Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Train fix (#7880): the goal bar is Advanced only, and draws nothing until a goal is known
milind-sonic8c4fd3e9860
diff --git a/src/components/GroupView.tsx b/src/components/GroupView.tsxindex 54fd531bca..6022c6b06c 100644--- a/src/components/GroupView.tsx+++ b/src/components/GroupView.tsx@@ -492,7 +492,7 @@ export function GroupView({ group, inForkPanel = false, bare = false }: { group:</div>)}<PinnedSignInSlot cards={pinnedSignIns} />- <ThreadGoals key={group.threadId} thread={group} inForkPanel={inForkPanel} />+ {advancedMode && <ThreadGoals key={group.threadId} thread={group} inForkPanel={inForkPanel} />}</GlassBar>diff --git a/src/components/ThreadGoals.tsx b/src/components/ThreadGoals.tsxindex 7a96b2c5f3..f253f6ebae 100644--- a/src/components/ThreadGoals.tsx+++ b/src/components/ThreadGoals.tsx@@ -169,7 +169,8 @@ export function ThreadGoals({ thread, botId, canSwitchVersion, inForkPanel }: {return true;};- if (!latest && !failed && !open) return null;+ // Nothing to pin until a goal is known; a home without the goals route, or a failed read, draws nothing.+ if (!latest && !open) return null;return (<div className="px-4 pb-2"><section aria-label={t("chat.goals.title")} className={cn("chat-column flex min-w-0 items-center gap-2", pinned && "rounded-xl border border-hairline bg-card px-3 py-1")}>