Skip to content

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

Merge origin/main (train N4) into train/nov13b-n1

milind-soni1423f7fc612a
diff --cc src/state/store.tsx
index e9f8b3bcf4,49a1555e75..c05dd9f12b
--- a/src/state/store.tsx
+++ b/src/state/store.tsx
@@@ -2665,12 -2659,15 +2659,15 @@@ export function StoreProvider({ childre
replyToId: action.replyToId,
threadId,
sendId,
- mode: action.mode ?? "chat", ...(action.mentions?.length ? { mentions: action.mentions } : {}),
+ mode: action.mode ?? "chat", ...(action.mentions?.length ? { mentions: action.mentions } : {}), ...(action.pointed?.length ? { pointed: action.pointed } : {}),
}),
- }))
- .then((body) => {
+ }), arrived))
+ .then((sent) => {
+ if (!("body" in sent)) return;
+ const body = sent.body;
if (body?.message && typeof body.threadId === "string") {
rawDispatch({ type: "messageAdded", threadId: body.threadId, message: body.message });
+ rawDispatch({ type: "forkPanelMessage", threadId: body.threadId, message: body.message });
}
if (
body?.queued &&