#1821·E2B

JS SuperChart deserializer reads data instead of elements, and Result never deserializes charts

Author: claxmanCreated Sep 7, 2026Updated Sep 7, 2026
LabelsbugsdkCode Interpreter

`deserializeChart` in `packages/code-interpreter-js/src/charts.ts` maps SuperChart children from `data.data`. The `SuperChart` type and Python `_deserialize_chart` use `elements`. `Result` in `messaging.ts` assigns `this.chart = data['chart']` and never calls `deserializeChart`. Python `Result` does call `_deserialize_chart`.