What's changed
Ask how much RAM 30 players need, compare plan costs, convert times, or have it parse log lines you pasted, and the assistant can write a short script that runs straight away and shows its output under the code. numpy and pandas are available.
Every Python or JavaScript block has a Run button, and Send output to AI passes the result back so the assistant can continue from it. Use the Run code switch at the top of the chat to choose between running automatically and running only when you press Run.
With Agent on, the assistant can also run code itself while it works out an answer, for example to calculate the right plan size, and then reply with the result.
With Run code set to auto, the assistant writes and runs its code while it is still thinking. A "Thinking" animation shows while it works, and the "Thought for …" line above the answer opens to show its steps, the code it ran and the output.
Code runs in a locked-down sandbox on our servers, with no internet access and no access to your account, servers or files, and is stopped after 20 seconds. If that sandbox is unavailable, it runs in a sandbox in your own browser instead.