{part.details.map(detail =>
detail.type === 'text' ? detail.text : '',
)}
);
}
})}
{JSON.stringify(part.toolInvocation, null, 2)}
);
case 'call':
return (
Condition: {weather}
Temperature: {temperature}°C
Symbol: {symbol}
Price: ${price}
{notification?.name}
{notification?.message}
{notification?.name}
{notification?.message}
{notification?.name}
{notification?.message}
{notification?.name}
{notification?.message}
{notification?.name}
{notification?.message}
{JSON.stringify(m.data, null, 2)}
>
)}
{JSON.stringify(data, null, 2)}}
{messages?.map((m: Message) => (