in components/scene.tsx [65:73]
function displayData() {
try {
const { chart, title, text, data } = JSON.parse(toolCall.arguments);
const component = getComponent({ chart, title, text, data });
setDisplayComponent(component || null);
} catch (error) {
console.error("Failed to parse toolCall arguments:", error);
}
}