Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(conversations): handle missing agent name in message bubble

Steven Enamakel73d5c388f4d8
diff --git a/app/src/features/conversations/components/AgentMessageBubble.tsx b/app/src/features/conversations/components/AgentMessageBubble.tsx
index 70589fc2ba..13c0d32b55 100644
--- a/app/src/features/conversations/components/AgentMessageBubble.tsx
+++ b/app/src/features/conversations/components/AgentMessageBubble.tsx
@@ -27,33 +27,6 @@ const HIGHLIGHT_REHYPE_PLUGINS = [rehypeHighlight];
const MATH_REHYPE_PLUGINS = [rehypeHighlight, rehypeKatex];
type ParsedMarkdownTable = NonNullable<ReturnType<typeof parseMarkdownTable>>;
-/**
- * Pill rendered below an agent bubble for each
- * `<openhuman-link path="...">label</openhuman-link>` tag the agent
- * emits. Click dispatches an `OPENHUMAN_LINK_EVENT` window event that
- * `OpenhumanLinkModal` listens for, so the chat stays in view.
- */
-function OpenhumanLinkPill({ path, label }: { path: string; label: string }) {
- return (
- <button
- type="button"
- onClick={() =>
- window.dispatchEvent(new CustomEvent(OPENHUMAN_LINK_EVENT, { detail: { path } }))
- }
- className="inline-flex items-center gap-1 rounded-full border border-primary-200 bg-primary-50 px-3 py-1 text-xs font-medium text-primary-700 transition-colors hover:bg-primary-100">
- {label}
- <svg className="h-3 w-3" viewBox="0 0 24 24" fill="none" stroke="currentColor">
- <path
- strokeLinecap="round"
- strokeLinejoin="round"
- strokeWidth={2}
- d="M5 12h14M13 6l6 6-6 6"
- />
- </svg>
- </button>
- );
-}
-
function transformMarkdownUrl(url: string): string {
return parseWorkspaceHref(url) ? url : defaultUrlTransform(url);
}