feat: Add default tool call renderer, and error toasts

This commit is contained in:
bracesproul
2025-03-04 13:37:42 -08:00
parent a796f7612d
commit 3f9c85b106
10 changed files with 168 additions and 7 deletions

View File

@@ -205,10 +205,7 @@ const defaultComponents = memoizeMarkdownComponents({
const isCodeBlock = useIsMarkdownCodeBlock();
return (
<code
className={cn(
!isCodeBlock && "bg-muted rounded border font-semibold",
className,
)}
className={cn(!isCodeBlock && "rounded font-semibold", className)}
{...props}
/>
);