forked from boos/BoosAPI
[codex] add route priority bucket editor (#350)
* feat: add route priority bucket editor * fix: address route editor review comments
This commit is contained in:
@@ -540,6 +540,7 @@ export const zhToEnSupplemental: Record<string, string> = {
|
||||
'退出登录': 'Log out',
|
||||
'拖拽 JSON 备份文件到此处': 'Drag and drop the JSON backup file here',
|
||||
'拖拽调整优先级': 'Drag and drop to adjust priority',
|
||||
'拖拽调整优先级桶': 'Drag and drop to adjust priority buckets',
|
||||
'唯一可用候选': 'The only available candidate',
|
||||
'未登录': 'Not logged in',
|
||||
'未登录且未提供 access token': 'Not logged in and no access token provided',
|
||||
@@ -568,7 +569,9 @@ export const zhToEnSupplemental: Record<string, string> = {
|
||||
'无需操作': 'No action required',
|
||||
'无需重复执行': 'No need to repeat',
|
||||
'系统': 'system',
|
||||
'系统会根据模型可用性自动生成路由。精确模型路由会自动过滤只支持该模型的账号和令牌。优先级 P0 最高,数字越大优先级越低。选中概率表示请求到达时该通道被选中的概率。成本来源优先级为:实测成本 → 账号配置成本 → 目录参考价 → 默认回退单价。': 'The system automatically generates routes based on model availability. Exact model routing will automatically filter accounts and tokens that only support that model. P0 has the highest priority, and the larger the number, the lower the priority. The selection probability indicates the probability of the channel being selected when the request arrives. The priority of cost sources is: measured cost → account configuration cost → catalog reference price → default fallback unit price.',
|
||||
'系统会根据模型可用性自动生成路由。优先级按 P0/P1 等桶管理,同一桶内可有多个通道;拖动通道或灰色分隔线即可调整。精确模型路由会自动过滤只支持该模型的账号和令牌。群组路由中的优先级调整会直接回写来源通道。选中概率表示请求到达时该通道被选中的概率。成本来源优先级为:实测成本 → 账号配置成本 → 目录参考价 → 默认回退单价。': 'The system automatically generates routes based on model availability. Priorities are managed as P0/P1 buckets, and multiple channels can share the same bucket; drag channels or the gray separators to adjust them. Exact model routes automatically filter accounts and tokens that only support that model. Priority edits inside group routes write back to the source channels directly. The selection probability indicates the probability of the channel being selected when the request arrives. The priority of cost sources is: measured cost → account configuration cost → catalog reference price → default fallback unit price.',
|
||||
'该群组会将多个来源模型聚合为一个对外模型名;这里调整优先级桶时会直接回写来源通道。若某个来源模型被其他群组复用,保存前会提示影响范围。': 'This group aggregates multiple source models into one public model name. Priority bucket edits here write back to the source channels directly. If a source model is reused by other groups, the impact is shown before saving.',
|
||||
'通配符路由按请求实时决策;下方优先级桶在整条路由内全局生效,来源模型只作为通道标签展示。': 'Wildcard routes decide per request. The priority buckets below apply globally across the whole route, while source models are shown only as channel labels.',
|
||||
'系统设置': 'System settings',
|
||||
'显示调试': 'show debugging',
|
||||
'项目链接': 'Project link',
|
||||
|
||||
Reference in New Issue
Block a user