Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Chat: keep ChatView and GroupView at their listed size

Krishna Dobhalb05197ac2643
diff --git a/src/components/ChatView.tsx b/src/components/ChatView.tsx
index 9c5ecd07a5..b8b01330fa 100644
--- a/src/components/ChatView.tsx
+++ b/src/components/ChatView.tsx
@@ -1215,8 +1215,7 @@ export const ChatView = memo(function ChatView({ bot: profile, inForkPanel = fal
simple={!advanced}
className={cn(!advanced && presenceUnderBubble && SIMPLE_STACKED)}
label={teammatesWorking ? t("chat.teammatesWorking") : sharedRun.label}
- visible={presenceVisible}
- threadId={bot.threadId}
+ visible={presenceVisible} threadId={bot.threadId}
{...now}
phrases={teammatesWorking ? undefined : now.phrases}
seed={`${bot.id}:${bot.threadId ?? ""}:${busySince ?? ""}`}
diff --git a/src/components/GroupView.tsx b/src/components/GroupView.tsx
index 383ebbb1c6..28db4c4a03 100644
--- a/src/components/GroupView.tsx
+++ b/src/components/GroupView.tsx
@@ -1158,8 +1158,7 @@ export function GroupView({ group, inForkPanel = false }: { group: Group; inFork
trackPointer={false}
/>
}
- visible={presenceVisible}
- threadId={group.threadId}
+ visible={presenceVisible} threadId={group.threadId}
phrases={activity?.phrases}
phase={activity?.phase}
size={activity?.size} hover={activity?.hover} quiet={live.status && "quiet" in live.status ? live.status.quiet : undefined}