mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 04:14:30 +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:
@@ -16,7 +16,6 @@ import { Avatar, AvatarFallback, AvatarImage } from '@/ui/components/ui/avatar'
|
||||
import {
|
||||
Cpu,
|
||||
DollarSign,
|
||||
Puzzle,
|
||||
Server,
|
||||
Terminal,
|
||||
Wrench,
|
||||
@@ -54,11 +53,6 @@ const RESOURCE_META: Record<
|
||||
icon: DollarSign,
|
||||
unit: '$',
|
||||
},
|
||||
agent_skill_call_count: {
|
||||
label: () => m.quota_resource_agent_skill_call_count(),
|
||||
icon: Puzzle,
|
||||
unit: 'calls',
|
||||
},
|
||||
agent_mcp_call_count: {
|
||||
label: () => m.quota_resource_agent_mcp_call_count(),
|
||||
icon: Server,
|
||||
|
||||
Reference in New Issue
Block a user