*Should* is subjective, but in the interest of NOT melting anything, I believe the best answer to your question is that you should set the charge limit to 32A when you are connected to a 14-50 or 6-50 outlet where you cannot verify or confirm that the wiring is rated for 50 amps and connected to a 50 amp breaker. The reason for this is that there is no such thing as a 40 amp outlet, so some electrical codes have (and may still) allowed for 50 amp outlets to be wired at 40 amps with a 40 amp breaker, and the continuous load rating for that scenario is 32 amps (80% of 40) amps.
ETA: Note that if you don't do this, the voltage drop as the wires get too hot may be enough to trigger it to drop to 32 amps automatically. As such, if you see a drop to 32 amps on a given outlet, it may also be advisable to make a mental note of that and set it when using the same outlet in the future, also to help avoid any potential melting.