Change the code example from using `get_history_length` to `get_current_history_length`.
Attach a file by drag & drop or click to upload