import type { JSX } from "react"; import { MessageSquareMoreIcon } from "../../../../app/renderer/components/icons/MessageSquareMoreIcon"; import { translate } from "../../../../i18n/index"; import { ToolMarkdownBlock, ToolSection, type AgentToolRendererProps } from "./agentToolContentShared"; export function AgentAskUserQuestionContent({ call, onLinkClick }: AgentToolRendererProps): JSX.Element | null { "use memo"; const questions = call.askUserQuestion?.questions ?? []; const outputText = stringValue(call.output?.text); if (questions.length === 0) { return null; } return (