mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 04:44:28 +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:
@@ -1071,7 +1071,6 @@
|
||||
"quota_resource": "Resource",
|
||||
"quota_resource_agent_total_tokens": "AI Tokens",
|
||||
"quota_resource_agent_cost": "AI Cost ($)",
|
||||
"quota_resource_agent_skill_call_count": "Skill Calls",
|
||||
"quota_resource_agent_mcp_call_count": "MCP Server Calls",
|
||||
"quota_resource_agent_bash_call_count": "Agent Bash Calls",
|
||||
"quota_resource_agent_tool_call_count": "Agent Tool Calls",
|
||||
@@ -1120,14 +1119,12 @@
|
||||
"select_members": "Select Members",
|
||||
"select_role": "Select Role",
|
||||
"select_user": "Select User",
|
||||
"select_skill": "Select Skill",
|
||||
"select_mcp_server": "Select MCP Server",
|
||||
"select_tool": "Select Tool",
|
||||
"custom_id": "Custom ID",
|
||||
"enter_custom_id": "Enter custom ID",
|
||||
"bash_command_pattern": "Bash Match Wildcard",
|
||||
"bash_command_pattern_placeholder": "e.g. * or npm*",
|
||||
"enter_skill_id": "Enter Skill ID",
|
||||
"enter_mcp_id": "Enter MCP Server ID",
|
||||
"quota_bash_hint": "Supports wildcards (*). Examples: git *, npm test, curl *, python script.py (use * for all commands)",
|
||||
"quota_tool_hint": "Select a specific agent tool to configure its quota limit"
|
||||
|
||||
@@ -1071,7 +1071,6 @@
|
||||
"quota_resource": "资源类型",
|
||||
"quota_resource_agent_total_tokens": "AI Token 总量",
|
||||
"quota_resource_agent_cost": "AI 费用 ($)",
|
||||
"quota_resource_agent_skill_call_count": "Skill 调用次数",
|
||||
"quota_resource_agent_mcp_call_count": "MCP 服务调用次数",
|
||||
"quota_resource_agent_bash_call_count": "智能体 Bash 执行次数",
|
||||
"quota_resource_agent_tool_call_count": "智能体工具调用次数",
|
||||
@@ -1090,7 +1089,7 @@
|
||||
"quota_period_resets": "重置于",
|
||||
"quota_active_window": "生效周期",
|
||||
"no_quotas_title": "暂未配置资源配额",
|
||||
"no_quotas_description": "为 AI Token、费用、Skill 执行和智能体工具调用设置限制,以便管理团队的使用情况。",
|
||||
"no_quotas_description": "为 AI Token、费用、MCP 服务和智能体工具调用设置限制,以便管理团队的使用情况。",
|
||||
"delete_quota": "删除配额",
|
||||
"delete_quota_confirm": "确定要删除此配额规则吗?此操作无法撤销。",
|
||||
"quota_created_successfully": "配额规则创建成功",
|
||||
@@ -1120,14 +1119,12 @@
|
||||
"select_members": "选择成员",
|
||||
"select_role": "选择角色",
|
||||
"select_user": "选择用户",
|
||||
"select_skill": "选择 Skill",
|
||||
"select_mcp_server": "选择 MCP 服务",
|
||||
"select_tool": "选择工具",
|
||||
"custom_id": "自定义 ID",
|
||||
"enter_custom_id": "输入自定义 ID",
|
||||
"bash_command_pattern": "Bash 命令通配符",
|
||||
"bash_command_pattern_placeholder": "例如 * 或 npm*",
|
||||
"enter_skill_id": "输入技能 ID",
|
||||
"enter_mcp_id": "输入 MCP 服务 ID",
|
||||
"quota_bash_hint": "支持通配符 (*)。示例:git *、npm test、curl *、python script.py(使用 * 匹配所有命令)",
|
||||
"quota_tool_hint": "选择特定的智能体工具以配置其配额限制"
|
||||
|
||||
Reference in New Issue
Block a user