mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 18:47:16 +00:00
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:
-1
@@ -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'
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user