Skip to content

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

bot panel: draw the reasoning row on the details tab, like the settings dialog does

Manuel87c74a566cc1
diff --git a/src/components/bot-panel/DetailsTab.tsx b/src/components/bot-panel/DetailsTab.tsx
index 742e823029..4a1be368e2 100644
--- a/src/components/bot-panel/DetailsTab.tsx
+++ b/src/components/bot-panel/DetailsTab.tsx
@@ -4,7 +4,7 @@ import { cn } from "@/lib/cn";
import { t } from "@/lib/i18n";
import { useStore, type Bot } from "@/state/store";
import { useChatMoreItems } from "../ChatMoreMenu";
-import { ModelPicker } from "../ModelPicker";
+import { EffortRow, ModelPicker } from "../ModelPicker";
import type { SidebarMenuItem } from "../SidebarPopoverMenu";
import type { useBotSettingsDerived } from "../bot-settings/useBotSettingsDerived";
import { BotConversations } from "./Conversations";
@@ -62,6 +62,14 @@ export function DetailsTab({ bot, derived, onOpen }: {
label={<span className="flex shrink-0 items-center gap-2.5"><RowIcon icon={Sparkles} /><RowText title={t("model.simple.model")} /></span>}
/>
</div>
+ {/* The picker hides its own reasoning row when contained, so this tab draws it as its own row. */}
+ <EffortRow
+ bot={bot}
+ threadId={bot.threadId}
+ compact
+ className={cn(rowCls, "min-w-0 flex-1 rounded-[8px]")}
+ label={<span className="flex shrink-0 items-center gap-2.5"><RowIcon icon={Sparkles} /><RowText title={t("model.simple.reasoning")} /></span>}
+ />
</section>
<BotConversations bot={bot} />