Skip to content

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

822 B
Raw Blame
import type { Bot } from "@/state/store";
import { t } from "@/lib/i18n";
import { EffortRow } from "./ModelPicker";

export function BusyModelMenu({ bot, threadId, variants }: { bot: Bot; threadId?: string; variants: boolean }) {
  return (
    <div data-model-busy className="flex flex-col py-1">
      <EffortRow
        compact
        bot={bot}
        threadId={threadId}
        className="px-3.5 py-[5px]"
        label={<span className="text-[13px] leading-[18px] text-ink">{variants ? t("model.simple.reasoning") : t("model.section.effort")}</span>}
      />
      <p className="px-3.5 py-1 text-[12px] leading-4 text-ink-tertiary">{t("model.reasoningNextTurn")}</p>
      <p className="px-3.5 py-1 text-[12px] leading-4 text-ink-tertiary">{t(threadId ? "model.threadBusy" : "model.busy")}</p>
    </div>
  );
}