| @@ -119,7 +119,7 @@ export const ProviderContextProvider = ({ | |||
| if (localStorage.getItem('anthropic_quota_notice') === 'true') | |||
| return | |||
| if (dayjs().isAfter(dayjs('2025-03-10'))) | |||
| if (dayjs().isAfter(dayjs('2025-03-11'))) | |||
| return | |||
| if (providersData?.data && providersData.data.length > 0) { | |||
| @@ -130,7 +130,7 @@ export const ProviderContextProvider = ({ | |||
| Toast.notify({ | |||
| type: 'info', | |||
| message: t('common.provider.anthropicHosted.trialQuotaTip'), | |||
| duration: 6000, | |||
| duration: 60000, | |||
| onClose: () => { | |||
| localStorage.setItem('anthropic_quota_notice', 'true') | |||
| }, | |||
| @@ -290,7 +290,7 @@ const translation = { | |||
| usedUp: 'Trial quota used up. Add own Model Provider.', | |||
| useYourModel: 'Currently using own Model Provider.', | |||
| close: 'Close', | |||
| trialQuotaTip: 'Your Anthropic trial quota will expire on 2025/03/10 and will no longer be available thereafter. Please make use of it in time.', | |||
| trialQuotaTip: 'Your Anthropic trial quota will expire on 2025/03/11 and will no longer be available thereafter. Please make use of it in time.', | |||
| }, | |||
| anthropic: { | |||
| using: 'The embedding capability is using', | |||
| @@ -291,7 +291,7 @@ const translation = { | |||
| usedUp: 'トライアルクォータが使い果たされました。独自のモデルプロバイダを追加してください。', | |||
| useYourModel: '現在、独自のモデルプロバイダを使用しています。', | |||
| close: '閉じる', | |||
| trialQuotaTip: 'お客様の Anthropic 試用枠は 2025/03/10 に失効し、その後は利用できなくなります。お早めにご利用ください。', | |||
| trialQuotaTip: 'お客様の Anthropic 試用枠は 2025/03/11 に失効し、その後は利用できなくなります。お早めにご利用ください。', | |||
| }, | |||
| anthropic: { | |||
| using: '埋め込み機能は使用中です', | |||
| @@ -290,7 +290,7 @@ const translation = { | |||
| usedUp: '试用额度已用完,请在下方添加自己的模型供应商', | |||
| useYourModel: '当前正在使用你自己的模型供应商。', | |||
| close: '关闭', | |||
| trialQuotaTip: '您的 Anthropic 体验额度将于 2025/03/10 过期,过期后将无法使用,请尽快体验。', | |||
| trialQuotaTip: '您的 Anthropic 体验额度将于 2025/03/11 过期,过期后将无法使用,请尽快体验。', | |||
| }, | |||
| anthropic: { | |||
| using: '嵌入能力正在使用', | |||