Skip to content

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

Merge main into train/nov27-u2

milind-sonib3e7367ef93b
diff --cc src/components/AttachmentPreview.tsx
index abf19bf6dc,7772f073b7..716737605d
--- a/src/components/AttachmentPreview.tsx
+++ b/src/components/AttachmentPreview.tsx
@@@ -29,8 -36,7 +29,8 @@@ import { serverErrorText } from "@/lib/
import { CopyImageButton } from "./CopyImageButton";
import { FilePreviewButton } from "./FilePreviewButton";
import { chipNameAction, SaveIconButton, useHtmlPreview } from "./HtmlFilePreview";
- import { ImageLoading } from "./ImageLoading"; import { OutsideWorkspaceFile } from "./OutsideWorkspacePreview"; import { openLinkedFolder } from "./RevealOriginalMenu"; import { serverFetch } from "@/lib/relay-server";
+ import { ImageLoading } from "./ImageLoading"; import { OutsideWorkspaceFile } from "./OutsideWorkspacePreview"; import { openLinkedFolder } from "./RevealOriginalMenu"; import { isPlaceId } from "@/lib/place-chat"; import { serverFetch } from "@/lib/relay-server";
+import { usePreviewZoom } from "./preview-zoom";
export { OutsideWorkspaceFile };
diff --cc src/components/ChatMarkdown.tsx
index 35ec2b6835,ffcfb7b266..da46980394
--- a/src/components/ChatMarkdown.tsx
+++ b/src/components/ChatMarkdown.tsx
@@@ -399,7 -399,7 +399,7 @@@ function LocalFileLink({ filePath, show
const pathTitle = preview.opens ? preview.label : revealOnClick ? t("attach.showInFolder") : t("chat.file.saveCopy");
return (
- <span dir="ltr" className="inline-flex max-w-full min-w-0 flex-wrap items-center gap-x-1.5 [unicode-bidi:isolate]" {...revealMenu.targetProps(source)}>
- <span dir="ltr" className="inline-flex flex-wrap items-center gap-x-1.5 [unicode-bidi:isolate]" {...revealMenu.targetProps(isPlaceId(message?.threadId) ? undefined : source)}>
++ <span dir="ltr" className="inline-flex max-w-full min-w-0 flex-wrap items-center gap-x-1.5 [unicode-bidi:isolate]" {...revealMenu.targetProps(isPlaceId(message?.threadId) ? undefined : source)}>
{revealMenu.menu}
{preview.opens
? <SaveIconButton name={shownName} save={save} retryable={save.retryable} />
diff --cc src/locales/zh.json
index 12dd94bdca,b474efb48f..7ff6d2a37f
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@@ -236,8 -254,8 +236,9 @@@
"server.problem.routineFailed": "{bot} 遇到问题:{where} 的定时例行任务失败了",
"server.problem.routineFailedWhy": "{bot} 遇到问题:{where} 的定时例行任务失败了:「{detail}」",
"server.incidents.where.thread": "在对话 #{title} 中",
+ "server.chief.retryQueued": "已将 {name} 的对话 #{title} 的重试加入队列",
"server.incidents.where.main": "在主对话中",
+ "server.incidents.folded": "每小时只会向 {chief} 转达一定数量的问题,因此本小时还有 {count} 个问题没有发送给它。来源:{list}",
"server.connect.signIn": "请登录 {site}。",
"server.connect.signInWhy": "请登录 {site}:{reason}",
"server.connect.app": "请连接 {app}。",