There is no built-in setting in LM-studio that can automatically do that. You will have to manually do the conversion outside of LM-studio