The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(AgentMessageBubble): remove duplicate timestamp display
Steven Enamakelbe841d5d138c
diff --git a/app/src/features/conversations/components/AgentMessageBubble.tsx b/app/src/features/conversations/components/AgentMessageBubble.tsxindex 13c0d32b55..0ce59c8b30 100644--- a/app/src/features/conversations/components/AgentMessageBubble.tsx+++ b/app/src/features/conversations/components/AgentMessageBubble.tsx@@ -96,116 +96,3 @@ export function BubbleMarkdown({);}-export function TableCellMarkdown({ content }: { content: string }) {- const hasMath = hasLatexContent(content);- const rendered = hasMath ? normalizeLatexDelimiters(content) : content;- // Table cells are compact — we add rehypeHighlight for token colouring but- // intentionally skip the CodeBlock chrome (no header bar / copy button) to- // avoid layout disruption inside narrow table cells.- return (- <div className="prose prose-sm dark:prose-invert max-w-none text-sm text-content-secondary prose-p:my-0 prose-ul:my-0 prose-ol:my-0 prose-li:my-0 prose-code:text-xs prose-code:text-primary-700 dark:prose-code:text-primary-300 prose-a:text-primary-500 prose-strong:text-content prose-headings:text-sm prose-headings:font-semibold [&_li::marker]:text-content-secondary [&_ul]:my-0 [&_ol]:my-0 [&_ul]:pl-0 [&_ol]:pl-0 [&_ul]:list-inside [&_ol]:list-inside [&_li]:pl-0 [&_li_p]:inline [&_li_p]:m-0">- <Markdown- urlTransform={transformMarkdownUrl}- components={{ a: MarkdownAnchor }}- remarkPlugins={hasMath ? MATH_REMARK_PLUGINS : GFM_REMARK_PLUGINS}- rehypePlugins={hasMath ? MATH_REHYPE_PLUGINS : HIGHLIGHT_REHYPE_PLUGINS}>- {rendered}- </Markdown>- </div>- );-}--function AgentMarkdownTable({- table,- className,-}: {- table: ParsedMarkdownTable;- className: string;-}) {- return (- <div className={className}>- <div className="overflow-x-auto">- <table className="w-max min-w-full border-collapse text-left text-sm text-content">- <thead className="bg-surface-subtle dark:bg-surface-muted/90">- <tr>- {table.headers.map(header => (- <th- key={header}- className="max-w-[25vw] border-b border-line px-4 py-2.5 text-xs font-semibold uppercase tracking-[0.08em] text-content-muted">- {header}- </th>- ))}- </tr>- </thead>- <tbody>- {table.rows.map((row, rowIndex) => (- <tr- key={`${rowIndex}:${row.join('|')}`}- className="odd:bg-surface even:bg-surface-subtle">- {row.map((cell, cellIndex) => (- <td- key={`${rowIndex}:${cellIndex}:${cell}`}- className="max-w-[25vw] border-t border-line px-4 py-3 align-top text-sm text-content-secondary">- <TableCellMarkdown content={cell} />- </td>- ))}- </tr>- ))}- </tbody>- </table>- </div>- </div>- );-}--export function AgentMessageBubble({- content,- position = 'single',-}: {- content: string;- position?: AgentBubblePosition;-}) {- const segments = parseBubbleSegments(content);- const textContent = segments- .filter(s => s.kind === 'text')- .map(s => s.text)- .join('')- .trim();- const linkSegments = segments.filter(- (s): s is Extract<typeof s, { kind: 'link' }> => s.kind === 'link'- );-- const table = parseMarkdownTable(textContent);- const bubbleChrome = getAgentBubbleChrome(position);-- if (table) {- return (- <AgentMarkdownTable- table={table}- className={`w-full max-w-full overflow-hidden border border-line bg-surface/90 shadow-xs ${bubbleChrome}`}- />- );- }-- return (- <>- {textContent && (- <div- className={`bg-surface-strong dark:bg-surface-muted/80 px-4 py-2.5 text-content ${bubbleChrome}`}>- <BubbleMarkdown content={textContent} />- </div>- )}- {linkSegments.length > 0 && (- <div className="mt-2 flex flex-wrap gap-2">- {linkSegments.map((segment, idx) => (- <OpenhumanLinkPill- key={`pill-${idx}-${segment.path}`}- path={segment.path}- label={segment.label}- />- ))}- </div>- )}- </>- );-}