feat: update API proxy target and adjust component sizes in usage logs
This commit is contained in:
57
web/src/i18n/locales/en.json
vendored
57
web/src/i18n/locales/en.json
vendored
@@ -18,7 +18,6 @@
|
||||
"(输入 {{input}} tokens / 1M tokens * {{symbol}}{{price}}": "(Input {{input}} tokens / 1M tokens * {{symbol}}{{price}}",
|
||||
"(输入 {{nonAudioInput}} tokens / 1M tokens * {{symbol}}{{price}} + 音频输入 {{audioInput}} tokens / 1M tokens * {{symbol}}{{audioPrice}}": "(Input {{nonAudioInput}} tokens / 1M tokens * {{symbol}}{{price}} + Audio input {{audioInput}} tokens / 1M tokens * {{symbol}}{{audioPrice}}",
|
||||
"(输入 {{nonCacheInput}} tokens / 1M tokens * {{symbol}}{{price}} + 缓存 {{cacheInput}} tokens / 1M tokens * {{symbol}}{{cachePrice}}": "(Input {{nonCacheInput}} tokens / 1M tokens * {{symbol}}{{price}} + Cache {{cacheInput}} tokens / 1M tokens * {{symbol}}{{cachePrice}}",
|
||||
"(输入 {{nonImageInput}} tokens + 图片输入 {{imageInput}} tokens * {{imageRatio}} / 1M tokens * {{symbol}}{{price}}": "(Input {{nonImageInput}} tokens + Image input {{imageInput}} tokens * {{imageRatio}} / 1M tokens * {{symbol}}{{price}}",
|
||||
"[最多请求次数]和[最多请求完成次数]的最大值为2147483647。": "The maximum value of [Maximum request count] and [Maximum request completion count] is 2147483647.",
|
||||
"[最多请求次数]必须大于等于0,[最多请求完成次数]必须大于等于1。": "[Maximum request count] must be greater than or equal to 0, [Maximum request completion count] must be greater than or equal to 1.",
|
||||
"{\n \"default\": [200, 100],\n \"vip\": [0, 1000]\n}": "{\n \"default\": [200, 100],\n \"vip\": [0, 1000]\n}",
|
||||
@@ -155,10 +154,10 @@
|
||||
"JSON格式错误": "JSON format error",
|
||||
"JSON编辑": "JSON Editor",
|
||||
"JSON解析错误:": "JSON parsing error:",
|
||||
"Key": "",
|
||||
"Key": "Key",
|
||||
"Key 或 Path": "",
|
||||
"Key 指纹": "",
|
||||
"Key 摘要": "",
|
||||
"Key 摘要": "Key summary",
|
||||
"Key 来源": "",
|
||||
"Key 来源类型": "",
|
||||
"Linux DO Client ID": "Linux DO Client ID",
|
||||
@@ -915,7 +914,6 @@
|
||||
"图片输入价格:{{symbol}}{{price}} * {{ratio}} = {{symbol}}{{total}} / 1M tokens (图片倍率: {{imageRatio}})": "Image input price: {{symbol}}{{price}} * {{ratio}} = {{symbol}}{{total}} / 1M tokens (Image ratio: {{imageRatio}})",
|
||||
"图片输入价格:{{symbol}}{{price}} / 1M tokens": "Image input price: {{symbol}}{{price}} / 1M tokens",
|
||||
"图片输入价格 {{symbol}}{{price}} / 1M tokens": "Image input price {{symbol}}{{price}} / 1M tokens",
|
||||
"图片输入 {{price}}": "Image input {{price}}",
|
||||
"图片输入倍率(仅部分模型支持该计费)": "Image input ratio (only supported by some models for billing)",
|
||||
"图片输入相关的倍率设置,键为模型名称,值为倍率,仅部分模型支持该计费": "Ratio settings related to image input, key is model name, value is ratio, only supported by some models for billing",
|
||||
"图生文": "Describe",
|
||||
@@ -1371,7 +1369,7 @@
|
||||
"打开 CC Switch": "Open CC Switch",
|
||||
"打开侧边栏": "Open sidebar",
|
||||
"打开授权页面": "",
|
||||
"扣费": "",
|
||||
"扣费": "Charge",
|
||||
"执行 GC": "Run GC",
|
||||
"执行中": "processing",
|
||||
"扫描二维码": "Scan QR code",
|
||||
@@ -1406,7 +1404,6 @@
|
||||
"按倍率类型筛选": "Filter by ratio type",
|
||||
"按倍率设置": "Set by ratio",
|
||||
"按次": "Per request",
|
||||
"按次 {{price}} / 次": "Per request {{price}} / request",
|
||||
"按次计费": "Pay per request",
|
||||
"按照如下格式输入:AccessKey|SecretAccessKey|Region": "Enter in the format: AccessKey|SecretAccessKey|Region",
|
||||
"按量计费": "Pay as you go",
|
||||
@@ -1799,9 +1796,11 @@
|
||||
"模型价格": "Model price",
|
||||
"模型价格 {{symbol}}{{price}},{{ratioType}} {{ratio}}": "Model price {{symbol}}{{price}}, {{ratioType}} {{ratio}}",
|
||||
"模型价格 {{symbol}}{{price}} / 次": "Model price {{symbol}}{{price}} / request",
|
||||
"按次 {{symbol}}{{price}} * {{ratioType}} {{ratio}} = {{symbol}}{{total}}": "Per request {{symbol}}{{price}} * {{ratioType}} {{ratio}} = {{symbol}}{{total}}",
|
||||
"模型价格:{{symbol}}{{price}} * {{ratioType}}:{{ratio}} = {{symbol}}{{total}}": "Model price: {{symbol}}{{price}} * {{ratioType}}: {{ratio}} = {{symbol}}{{total}}",
|
||||
"按次:{{symbol}}{{price}} * {{ratioType}}:{{ratio}} = {{symbol}}{{total}}": "Per request: {{symbol}}{{price}} * {{ratioType}}: {{ratio}} = {{symbol}}{{total}}",
|
||||
"模型价格:{{symbol}}{{price}} / 次": "Model price: {{symbol}}{{price}} / request",
|
||||
"输入 {{price}} / 1M tokens": "Input {{price}} / 1M tokens",
|
||||
"按次:{{symbol}}{{price}}": "Per request: {{symbol}}{{price}}",
|
||||
"模型倍率": "Model ratio",
|
||||
"模型倍率 {{modelRatio}}": "Model ratio {{modelRatio}}",
|
||||
"模型倍率 {{modelRatio}},缓存倍率 {{cacheRatio}},输出倍率 {{completionRatio}},{{ratioType}} {{ratio}}": "Model ratio {{modelRatio}}, cache ratio {{cacheRatio}}, completion ratio {{completionRatio}}, {{ratioType}} {{ratio}}",
|
||||
@@ -1997,7 +1996,7 @@
|
||||
"渠道": "Channel",
|
||||
"渠道 ID": "Channel ID",
|
||||
"渠道ID,名称,密钥,API地址": "Channel ID, name, key, Base URL",
|
||||
"渠道亲和性": "",
|
||||
"渠道亲和性": "Channel affinity",
|
||||
"渠道亲和性:上游缓存命中": "",
|
||||
"渠道亲和性会基于从请求上下文或 JSON Body 提取的 Key,优先复用上一次成功的渠道。": "",
|
||||
"渠道优先级": "Channel Priority",
|
||||
@@ -2099,7 +2098,7 @@
|
||||
"用户账户管理": "User account management",
|
||||
"用时/首字": "Time/first word",
|
||||
"由全站货币展示设置统一控制": "Controlled by the site-wide currency display settings",
|
||||
"由订阅抵扣": "",
|
||||
"由订阅抵扣": "Deducted by subscription",
|
||||
"界面语言和其他个人偏好": "Interface language and other personal preferences",
|
||||
"留空使用系统临时目录": "Leave empty to use system temp directory",
|
||||
"留空则使用账号绑定的邮箱": "If left blank, the email address bound to the account will be used",
|
||||
@@ -2360,8 +2359,6 @@
|
||||
"缓存价格:{{symbol}}{{price}} * {{ratio}} = {{symbol}}{{total}} / 1M tokens (缓存倍率: {{cacheRatio}})": "Cache price: {{symbol}}{{price}} * {{ratio}} = {{symbol}}{{total}} / 1M tokens (Cache ratio: {{cacheRatio}})",
|
||||
"缓存读取价格:{{symbol}}{{price}} / 1M tokens": "Cache read price: {{symbol}}{{price}} / 1M tokens",
|
||||
"缓存读取价格 {{symbol}}{{price}} / 1M tokens": "Cache read price {{symbol}}{{price}} / 1M tokens",
|
||||
"缓存读取 {{price}}": "Cache read {{price}}",
|
||||
"缓存读取 {{price}}": "Cache read {{price}}",
|
||||
"缓存倍率": "Cache ratio",
|
||||
"缓存倍率 {{cacheRatio}}": "Cache ratio {{cacheRatio}}",
|
||||
"缓存写": "Cache Write",
|
||||
@@ -2371,12 +2368,6 @@
|
||||
"缓存创建: 1h {{cacheCreationRatio1h}}": "Cache creation: 1h {{cacheCreationRatio1h}}",
|
||||
"缓存创建: 5m {{cacheCreationRatio5m}}": "Cache creation: 5m {{cacheCreationRatio5m}}",
|
||||
"缓存创建: 5m {{cacheCreationRatio5m}} / 1h {{cacheCreationRatio1h}}": "Cache creation: 5m {{cacheCreationRatio5m}} / 1h {{cacheCreationRatio1h}}",
|
||||
"缓存创建 {{price}}": "Cache creation {{price}}",
|
||||
"5m缓存创建 {{price}}": "5m cache creation {{price}}",
|
||||
"1h缓存创建 {{price}}": "1h cache creation {{price}}",
|
||||
"缓存创建 {{price}}": "Cache creation {{price}}",
|
||||
"5m缓存创建 {{price}}": "5m cache creation {{price}}",
|
||||
"1h缓存创建 {{price}}": "1h cache creation {{price}}",
|
||||
"缓存创建价格:{{symbol}}{{price}} * {{ratio}} = {{symbol}}{{total}} / 1M tokens (缓存创建倍率: {{cacheCreationRatio}})": "Cache creation price: {{symbol}}{{price}} * {{ratio}} = {{symbol}}{{total}} / 1M tokens (Cache creation ratio: {{cacheCreationRatio}})",
|
||||
"缓存创建价格:{{symbol}}{{price}} / 1M tokens": "Cache creation price: {{symbol}}{{price}} / 1M tokens",
|
||||
"缓存创建价格 {{symbol}}{{price}} / 1M tokens": "Cache creation price {{symbol}}{{price}} / 1M tokens",
|
||||
@@ -2510,7 +2501,6 @@
|
||||
"输入与缓存价格合计 * {{ratioType}} {{ratio}} = {{symbol}}{{total}}": "Input and cache pricing subtotal * {{ratioType}} {{ratio}} = {{symbol}}{{total}}",
|
||||
"补全价格:{{symbol}}{{price}} * {{completionRatio}} = {{symbol}}{{total}} / 1M tokens (补全倍率: {{completionRatio}})": "Completion price: {{symbol}}{{price}} * {{completionRatio}} = {{symbol}}{{total}} / 1M tokens (Completion ratio: {{completionRatio}})",
|
||||
"补全价格:{{symbol}}{{price}} * {{ratio}} = {{symbol}}{{total}} / 1M tokens": "Completion price: {{symbol}}{{price}} * {{ratio}} = {{symbol}}{{total}} / 1M tokens",
|
||||
"补全价格 {{symbol}}{{price}} / 1M tokens": "Completion price {{symbol}}{{price}} / 1M tokens",
|
||||
"补全倍率": "Completion ratio",
|
||||
"补全倍率值": "Completion Ratio Value",
|
||||
"补单": "Complete Order",
|
||||
@@ -2521,7 +2511,7 @@
|
||||
"覆盖模式:将完全替换现有的所有密钥": "Overwrite mode: completely replace all existing keys",
|
||||
"覆盖模板": "",
|
||||
"覆盖现有密钥": "Overwrite existing key",
|
||||
"规则": "",
|
||||
"规则": "Rule",
|
||||
"规则 JSON": "",
|
||||
"规则 JSON 格式不正确": "",
|
||||
"规则 ttl_seconds 为 0 时使用。0 表示使用后端默认 TTL:3600 秒。": "",
|
||||
@@ -2551,7 +2541,7 @@
|
||||
"订阅套餐": "Subscription Plans",
|
||||
"订阅套餐管理": "Subscription Plan Management",
|
||||
"订阅实例": "",
|
||||
"订阅抵扣": "",
|
||||
"订阅抵扣": "Subscription deduction",
|
||||
"订阅管理": "Subscription Management",
|
||||
"订阅结算": "",
|
||||
"订阅说明": "",
|
||||
@@ -2942,7 +2932,7 @@
|
||||
"进度": "Progress",
|
||||
"进行中": "Ongoing",
|
||||
"进行该操作时,可能导致渠道访问错误,请仅在数据库出现问题时使用": "When performing this operation, it may cause channel access errors. Please only use it when there is a problem with the database.",
|
||||
"违规扣费": "",
|
||||
"违规扣费": "Violation deduction",
|
||||
"违规扣费金额": "Violation deduction amount",
|
||||
"连接保活设置": "Connection Keep-alive Settings",
|
||||
"连接已断开": "Connection Disconnected",
|
||||
@@ -3292,12 +3282,33 @@
|
||||
"音频输出:{{tokens}} / 1M * 模型倍率 {{modelRatio}} * 音频倍率 {{audioRatio}} * 音频补全倍率 {{audioCompletionRatio}} * {{ratioType}} {{ratio}} = {{amount}}": "Audio output: {{tokens}} / 1M * model ratio {{modelRatio}} * audio ratio {{audioRatio}} * audio completion ratio {{audioCompletionRatio}} * {{ratioType}} {{ratio}} = {{amount}}",
|
||||
"合计:文字部分 {{textTotal}} + 音频部分 {{audioTotal}} = {{total}}": "Total: text {{textTotal}} + audio {{audioTotal}} = {{total}}",
|
||||
"模型倍率 {{modelRatio}},输出倍率 {{completionRatio}},缓存倍率 {{cacheRatio}},{{ratioType}} {{ratio}}": "Model ratio {{modelRatio}}, output ratio {{completionRatio}}, cache ratio {{cacheRatio}}, {{ratioType}} {{ratio}}",
|
||||
"缓存创建倍率 5m {{cacheCreationRatio5m}} / 1h {{cacheCreationRatio1h}}": "Cache creation ratio 5m {{cacheCreationRatio5m}} / 1h {{cacheCreationRatio1h}}",
|
||||
"缓存读取:{{tokens}} / 1M * 模型倍率 {{modelRatio}} * 缓存倍率 {{cacheRatio}} * {{ratioType}} {{ratio}} = {{amount}}": "Cache read: {{tokens}} / 1M * model ratio {{modelRatio}} * cache ratio {{cacheRatio}} * {{ratioType}} {{ratio}} = {{amount}}",
|
||||
"缓存创建:{{tokens}} / 1M * 模型倍率 {{modelRatio}} * 缓存创建倍率 {{cacheCreationRatio}} * {{ratioType}} {{ratio}} = {{amount}}": "Cache creation: {{tokens}} / 1M * model ratio {{modelRatio}} * cache creation ratio {{cacheCreationRatio}} * {{ratioType}} {{ratio}} = {{amount}}",
|
||||
"5m缓存创建:{{tokens}} / 1M * 模型倍率 {{modelRatio}} * 5m缓存创建倍率 {{cacheCreationRatio5m}} * {{ratioType}} {{ratio}} = {{amount}}": "5m cache creation: {{tokens}} / 1M * model ratio {{modelRatio}} * 5m cache creation ratio {{cacheCreationRatio5m}} * {{ratioType}} {{ratio}} = {{amount}}",
|
||||
"1h缓存创建:{{tokens}} / 1M * 模型倍率 {{modelRatio}} * 1h缓存创建倍率 {{cacheCreationRatio1h}} * {{ratioType}} {{ratio}} = {{amount}}": "1h cache creation: {{tokens}} / 1M * model ratio {{modelRatio}} * 1h cache creation ratio {{cacheCreationRatio1h}} * {{ratioType}} {{ratio}} = {{amount}}",
|
||||
"输出:{{tokens}} / 1M * 模型倍率 {{modelRatio}} * 输出倍率 {{completionRatio}} * {{ratioType}} {{ratio}} = {{amount}}": "Output: {{tokens}} / 1M * model ratio {{modelRatio}} * output ratio {{completionRatio}} * {{ratioType}} {{ratio}} = {{amount}}",
|
||||
"空": "Empty"
|
||||
"空": "Empty",
|
||||
"{{ratioType}} {{ratio}}x": "{{ratioType}} {{ratio}}x",
|
||||
"模型价格:{{symbol}}{{price}}": "Model price: {{symbol}}{{price}}",
|
||||
"模型价格 {{price}}": "Model price {{price}}",
|
||||
"缓存读 {{price}} / 1M tokens": "Cache read {{price}} / 1M tokens",
|
||||
"5m缓存创建 {{price}} / 1M tokens": "5m cache creation {{price}} / 1M tokens",
|
||||
"1h缓存创建 {{price}} / 1M tokens": "1h cache creation {{price}} / 1M tokens",
|
||||
"缓存创建 {{price}} / 1M tokens": "Cache creation {{price}} / 1M tokens",
|
||||
"图片输入 {{price}} / 1M tokens": "Image input {{price}} / 1M tokens",
|
||||
"输入 {{price}} / 1M tokens": "Input {{price}} / 1M tokens",
|
||||
"缓存创建 {{tokens}} tokens / 1M tokens * {{symbol}}{{price}}": "Cache creation {{tokens}} tokens / 1M tokens * {{symbol}}{{price}}",
|
||||
"5m缓存创建 {{tokens}} tokens / 1M tokens * {{symbol}}{{price}}": "5m cache creation {{tokens}} tokens / 1M tokens * {{symbol}}{{price}}",
|
||||
"1h缓存创建 {{tokens}} tokens / 1M tokens * {{symbol}}{{price}}": "1h cache creation {{tokens}} tokens / 1M tokens * {{symbol}}{{price}}",
|
||||
"(输入 {{nonImageInput}} tokens + 图片输入 {{imageInput}} tokens / 1M tokens * {{symbol}}{{price}}": "(Input {{nonImageInput}} tokens + Image input {{imageInput}} tokens / 1M tokens * {{symbol}}{{price}}",
|
||||
"图片输入价格:{{symbol}}{{total}} / 1M tokens": "Image input price: {{symbol}}{{total}} / 1M tokens",
|
||||
"文字提示 {{input}} tokens / 1M tokens * {{symbol}}{{textInputPrice}} + 文字补全 {{completion}} tokens / 1M tokens * {{symbol}}{{textCompPrice}} + 音频提示 {{audioInput}} tokens / 1M tokens * {{symbol}}{{audioInputPrice}} + 音频补全 {{audioCompletion}} tokens / 1M tokens * {{symbol}}{{audioCompPrice}} * {{ratioType}} {{ratio}} = {{symbol}}{{total}}": "Text prompt {{input}} tokens / 1M tokens * {{symbol}}{{textInputPrice}} + Text completion {{completion}} tokens / 1M tokens * {{symbol}}{{textCompPrice}} + Audio prompt {{audioInput}} tokens / 1M tokens * {{symbol}}{{audioInputPrice}} + Audio completion {{audioCompletion}} tokens / 1M tokens * {{symbol}}{{audioCompPrice}} * {{ratioType}} {{ratio}} = {{symbol}}{{total}}",
|
||||
"缓存读取价格:{{symbol}}{{total}} / 1M tokens": "Cache read price: {{symbol}}{{total}} / 1M tokens",
|
||||
"补全 {{completion}} tokens * 输出倍率 {{completionRatio}}": "Completion {{completion}} tokens * Output ratio {{completionRatio}}",
|
||||
"补全倍率 {{completionRatio}}": "Completion ratio {{completionRatio}}",
|
||||
"输入价格:{{symbol}}{{price}} / 1M tokens": "Input Price: {{symbol}}{{price}} / 1M tokens",
|
||||
"输出价格 {{symbol}}{{price}} / 1M tokens": "Output Price {{symbol}}{{price}} / 1M tokens",
|
||||
"输出价格:{{symbol}}{{price}} / 1M tokens": "Output Price: {{symbol}}{{price}} / 1M tokens",
|
||||
"输出价格:{{symbol}}{{total}} / 1M tokens": "Output Price: {{symbol}}{{total}} / 1M tokens"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user