feat: support gemini-2.0-flash-thinking #639 #637

This commit is contained in:
CalciumIon
2024-12-20 13:20:07 +08:00
parent 7569947544
commit 3a97be9f12
4 changed files with 16 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ const EditRedemption = (props) => {
let name = inputs.name;
if (!isEdit && inputs.name === '') {
// set default name
name = t('新建兑换码') + ' ' + renderQuota(quota);
name = renderQuota(quota);
}
setLoading(true);
let localInputs = inputs;