fix(quota): exclude agents from quota rules and usage records (#325)

* fix(quota): exclude agents from quota rules and usage records

* refactor(quota): remove agent_skill_call_count resource type and related logic

* chore(db): replace manual migration with prisma-generated migration
This commit is contained in:
Yiling-J
2026-08-18 11:56:03 +08:00
committed by GitHub
parent f806272c06
commit 8a75d015a1
22 changed files with 127 additions and 318 deletions
-1
View File
@@ -195,7 +195,6 @@ export type QuotaPeriod = (typeof QuotaPeriod)[keyof typeof QuotaPeriod]
export const QuotaResourceType = {
agent_total_tokens: 'agent_total_tokens',
agent_cost: 'agent_cost',
agent_skill_call_count: 'agent_skill_call_count',
agent_mcp_call_count: 'agent_mcp_call_count',
agent_bash_call_count: 'agent_bash_call_count',
agent_tool_call_count: 'agent_tool_call_count'
File diff suppressed because one or more lines are too long