mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-01 09:30:48 +08:00
Merge pull request #200 from nagisa77/codex/add-account-usage-limit-feature
Implement daily AI usage limit
This commit is contained in:
@@ -176,6 +176,8 @@ export default {
|
||||
if (res.ok) {
|
||||
const data = await res.json()
|
||||
content.value = data.content || ''
|
||||
} else if (res.status === 429) {
|
||||
toast.error('今日AI优化次数已用尽')
|
||||
} else {
|
||||
toast.error('AI 优化失败')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user