Both presence_penalty and repeat_penalty in the saveHandler read from params.frequency_penalty instead of their own values due to a copy-paste error. This causes users adjusting either parameter to silently save the frequency_penalty value instead.