diff --git a/apps/database-playground/app/page.tsx b/apps/database-playground/app/page.tsx index d67895c1e2c..a9622a52c9d 100644 --- a/apps/database-playground/app/page.tsx +++ b/apps/database-playground/app/page.tsx @@ -244,9 +244,10 @@ export default function Page() { {messages.length > 0 ? (
{messages - // Don't include tool calls that don't have an associated UI .filter( (message) => + message.content || + // Don't include tool calls that don't have an associated UI !message.toolInvocations?.every((t) => t.toolName !== 'generateChart') ) .map((message) => {