mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-14 12:02:27 +08:00
ui(gemini): Vertex 显示名改为 Agent Platform (Vertex)
Google 已将 Vertex AI 更名为 Gemini Enterprise Agent Platform。 账号类型按钮、平台徽章、Vertex 相关提示、配额文档链接与批量生图报错文案 统一显示为 Agent Platform (Vertex);创建账号弹窗的 Vertex 按钮改用 i18n 文案。
This commit is contained in:
@@ -381,8 +381,8 @@
|
||||
<Icon name="cloud" size="sm" />
|
||||
</div>
|
||||
<div>
|
||||
<span class="block text-sm font-medium text-gray-900 dark:text-white">Vertex</span>
|
||||
<span class="text-xs text-gray-500 dark:text-gray-400">Service Account</span>
|
||||
<span class="block text-sm font-medium text-gray-900 dark:text-white">{{ t('admin.accounts.vertexLabel') }}</span>
|
||||
<span class="text-xs text-gray-500 dark:text-gray-400">{{ t('admin.accounts.vertexDesc') }}</span>
|
||||
</div>
|
||||
</button>
|
||||
|
||||
@@ -830,10 +830,10 @@
|
||||
</div>
|
||||
<div>
|
||||
<span class="block text-sm font-medium text-gray-900 dark:text-white">
|
||||
Vertex
|
||||
{{ t('admin.accounts.vertexLabel') }}
|
||||
</span>
|
||||
<span class="text-xs text-gray-500 dark:text-gray-400">
|
||||
Service Account
|
||||
{{ t('admin.accounts.vertexDesc') }}
|
||||
</span>
|
||||
</div>
|
||||
</button>
|
||||
|
||||
@@ -108,7 +108,7 @@ const typeLabel = computed(() => {
|
||||
case 'bedrock':
|
||||
return 'AWS'
|
||||
case 'service_account':
|
||||
return 'Vertex'
|
||||
return 'Agent Platform (Vertex)'
|
||||
default:
|
||||
return props.type
|
||||
}
|
||||
|
||||
@@ -589,10 +589,10 @@ export default {
|
||||
claudeConsole: 'Claude Console',
|
||||
bedrockLabel: 'AWS Bedrock',
|
||||
bedrockDesc: 'SigV4 / API Key',
|
||||
vertexLabel: 'Vertex',
|
||||
vertexLabel: 'Agent Platform (Vertex)',
|
||||
vertexDesc: 'Service Account',
|
||||
vertexAnthropicHint: 'Use a Google Cloud Service Account JSON to call Anthropic Claude via Vertex AI. It is recommended to configure model mapping to map client Claude model names to Vertex model IDs.',
|
||||
vertexGeminiHint: 'Use a Google Cloud Service Account JSON to access Vertex AI Gemini. It is recommended to place Vertex accounts in a separate group to avoid mixing with AI Studio/Gemini OAuth on the same models.',
|
||||
vertexAnthropicHint: 'Use a Google Cloud Service Account JSON to call Anthropic Claude via Agent Platform (Vertex). It is recommended to configure model mapping to map client Claude model names to Agent Platform (Vertex) model IDs.',
|
||||
vertexGeminiHint: 'Use a Google Cloud Service Account JSON to call Gemini via Agent Platform (Vertex). It is recommended to place these accounts in a separate group to avoid mixing with AI Studio/Gemini OAuth on the same models.',
|
||||
vertexSaJsonLabel: 'Service Account JSON',
|
||||
vertexSaJsonLoaded: 'Service Account JSON loaded',
|
||||
vertexSaJsonDrop: 'Drop Service Account JSON here',
|
||||
@@ -602,8 +602,8 @@ export default {
|
||||
vertexSaJsonUploadHint: 'After uploading or dropping a JSON file, the project_id will be auto-extracted. Key content is only used for account creation.',
|
||||
vertexSaJsonEditHint: 'Service Account JSON is not shown on the edit page; to change the JSON, delete the account and recreate it.',
|
||||
vertexProjectIdPlaceholder: 'Auto-extracted from JSON',
|
||||
vertexLocationHint: 'Available locations vary by Vertex model. Select the default endpoint location for this account.',
|
||||
vertexLocationRequired: 'Please enter a Vertex location',
|
||||
vertexLocationHint: 'Available locations vary by model. Select the default endpoint location for this account.',
|
||||
vertexLocationRequired: 'Please select a location',
|
||||
vertexSaJsonMissingFields: 'Service Account JSON is missing project_id, client_email, or private_key',
|
||||
vertexSaJsonMissingProjectId: 'Service Account JSON is missing project_id',
|
||||
vertexSaJsonMissingClientEmail: 'Service Account JSON is missing client_email',
|
||||
@@ -1499,7 +1499,7 @@ export default {
|
||||
docs: {
|
||||
codeAssist: 'Code Assist Quotas',
|
||||
aiStudio: 'AI Studio Pricing',
|
||||
vertex: 'Vertex AI Quotas'
|
||||
vertex: 'Agent Platform (Vertex) Quotas'
|
||||
},
|
||||
simulatedNote: 'Simulated quota, for reference only',
|
||||
rows: {
|
||||
|
||||
@@ -96,7 +96,7 @@ export default {
|
||||
noUsableImage: 'No usable image was generated.',
|
||||
cancelled: 'Job cancelled.',
|
||||
waiting: 'Waiting for results.',
|
||||
emptyImageOutput: 'The upstream returned a result, but this item has no image content. This usually means a single Gemini/Vertex generation failed or was blocked by safety policies.',
|
||||
emptyImageOutput: 'The upstream returned a result, but this item has no image content. This usually means a single Gemini/Agent Platform (Vertex) generation failed or was blocked by safety policies.',
|
||||
providerItemFailed: 'The upstream result for this item has no usable image.',
|
||||
},
|
||||
imagePreview: {
|
||||
@@ -174,10 +174,10 @@ export default {
|
||||
loadingModels: 'Loading available models...',
|
||||
noModels: 'No available models',
|
||||
noModelsHint: 'This key’s group has no models configured for batch image generation.',
|
||||
noCompatibleAccount: 'No usable upstream batch image account is available for this key’s group. Contact an administrator to check the group’s schedulable Gemini API key or Vertex service account and model support.',
|
||||
noCompatibleAccount: 'No usable upstream batch image account is available for this key’s group. Contact an administrator to check the group’s schedulable Gemini API key or Agent Platform (Vertex) service account and model support.',
|
||||
unsupportedProvider: 'The batch image provider for this job is not available. Contact an administrator to check the batch image provider configuration.',
|
||||
providerSubmitFailed: 'The upstream batch image job failed to submit. Contact an administrator to check the upstream account, model permission, or provider status.',
|
||||
vertexGcsBucketMissing: 'Vertex batch image generation is missing the managed GCS bucket configuration. Contact an administrator to configure BATCH_IMAGE_VERTEX_MANAGED_GCS_BUCKET before submitting again.',
|
||||
vertexGcsBucketMissing: 'Agent Platform (Vertex) batch image generation is missing the managed GCS bucket configuration. Contact an administrator to configure BATCH_IMAGE_VERTEX_MANAGED_GCS_BUCKET before submitting again.',
|
||||
queueFailed: 'The task queue is temporarily unavailable, so the batch job was not queued. Contact an administrator to check the queue service.',
|
||||
billingHoldFailed: 'The cost hold failed, so the batch job was not submitted. Contact an administrator to check billing or balance hold service.',
|
||||
groupDisabled: 'Batch image generation is not enabled for this key’s group. Choose another enabled key or contact an administrator.',
|
||||
|
||||
@@ -707,10 +707,10 @@ export default {
|
||||
claudeConsole: 'Claude Console',
|
||||
bedrockLabel: 'AWS Bedrock',
|
||||
bedrockDesc: 'SigV4 / API Key',
|
||||
vertexLabel: 'Vertex',
|
||||
vertexLabel: 'Agent Platform (Vertex)',
|
||||
vertexDesc: 'Service Account',
|
||||
vertexAnthropicHint: '使用 Google Cloud Service Account JSON 通过 Vertex AI 调用 Anthropic Claude。建议配置模型映射,将客户端 Claude 模型名映射到 Vertex 模型 ID。',
|
||||
vertexGeminiHint: '使用 Google Cloud Service Account JSON 访问 Vertex AI Gemini。建议将 Vertex 账号放入独立分组,避免和 AI Studio/Gemini OAuth 同模型混调。',
|
||||
vertexAnthropicHint: '使用 Google Cloud Service Account JSON 通过 Agent Platform (Vertex) 调用 Anthropic Claude。建议配置模型映射,将客户端 Claude 模型名映射到 Agent Platform (Vertex) 模型 ID。',
|
||||
vertexGeminiHint: '使用 Google Cloud Service Account JSON 通过 Agent Platform (Vertex) 调用 Gemini。建议将此类账号放入独立分组,避免和 AI Studio/Gemini OAuth 同模型混调。',
|
||||
vertexSaJsonLabel: 'Service Account JSON',
|
||||
vertexSaJsonLoaded: '已读取 Service Account JSON',
|
||||
vertexSaJsonDrop: '拖入 Service Account JSON',
|
||||
@@ -720,8 +720,8 @@ export default {
|
||||
vertexSaJsonUploadHint: '上传或拖入 JSON 后会自动读取 project_id,密钥内容仅用于创建账号提交。',
|
||||
vertexSaJsonEditHint: 'Service Account JSON 不在编辑页显示;需要更换 JSON 时请删除账号后重新创建。',
|
||||
vertexProjectIdPlaceholder: '从 JSON 自动读取',
|
||||
vertexLocationHint: '不同 Vertex 模型可用 location 可能不同,这里选择账号默认 endpoint location。',
|
||||
vertexLocationRequired: '请填写 Vertex location',
|
||||
vertexLocationHint: '不同模型可用 location 可能不同,这里选择账号默认 endpoint location。',
|
||||
vertexLocationRequired: '请选择 Location',
|
||||
vertexSaJsonMissingFields: 'Service Account JSON 缺少 project_id、client_email 或 private_key',
|
||||
vertexSaJsonMissingProjectId: 'Service Account JSON 缺少 project_id',
|
||||
vertexSaJsonMissingClientEmail: 'Service Account JSON 缺少 client_email',
|
||||
@@ -1589,7 +1589,7 @@ export default {
|
||||
docs: {
|
||||
codeAssist: 'Code Assist 配额',
|
||||
aiStudio: 'AI Studio 定价',
|
||||
vertex: 'Vertex AI 配额'
|
||||
vertex: 'Agent Platform (Vertex) 配额'
|
||||
},
|
||||
simulatedNote: '本地模拟配额,仅供参考',
|
||||
rows: {
|
||||
|
||||
@@ -96,7 +96,7 @@ export default {
|
||||
noUsableImage: '未生成可用图片',
|
||||
cancelled: '任务已取消',
|
||||
waiting: '等待生成结果',
|
||||
emptyImageOutput: '上游返回了结果,但这条没有图片内容。通常是 Gemini/Vertex 单条生成失败或被安全策略拦截。',
|
||||
emptyImageOutput: '上游返回了结果,但这条没有图片内容。通常是 Gemini/Agent Platform (Vertex) 单条生成失败或被安全策略拦截。',
|
||||
providerItemFailed: '上游返回的这条结果没有可用图片。',
|
||||
},
|
||||
imagePreview: {
|
||||
@@ -174,10 +174,10 @@ export default {
|
||||
loadingModels: '加载可用模型中...',
|
||||
noModels: '无可用模型',
|
||||
noModelsHint: '当前密钥所属分组没有配置可用于批量生图的模型。',
|
||||
noCompatibleAccount: '当前密钥所属分组没有可用的批量生图上游账号。请联系管理员检查:该分组是否绑定了可调度的 Gemini API Key 或 Vertex 服务账号,以及账号是否支持所选模型。',
|
||||
noCompatibleAccount: '当前密钥所属分组没有可用的批量生图上游账号。请联系管理员检查:该分组是否绑定了可调度的 Gemini API Key 或 Agent Platform (Vertex) Service Account 账号,以及账号是否支持所选模型。',
|
||||
unsupportedProvider: '这个任务使用的批量生图通道当前不可用。请联系管理员检查批量生图通道配置。',
|
||||
providerSubmitFailed: '上游批量生图任务提交失败。请联系管理员检查上游账号状态、模型权限或服务状态。',
|
||||
vertexGcsBucketMissing: 'Vertex 批量生图缺少托管 GCS 存储桶配置。请联系管理员配置 BATCH_IMAGE_VERTEX_MANAGED_GCS_BUCKET 后再提交。',
|
||||
vertexGcsBucketMissing: 'Agent Platform (Vertex) 批量生图缺少托管 GCS 存储桶配置。请联系管理员配置 BATCH_IMAGE_VERTEX_MANAGED_GCS_BUCKET 后再提交。',
|
||||
queueFailed: '任务队列暂时不可用,批量任务没有成功入队。请联系管理员检查队列服务。',
|
||||
billingHoldFailed: '费用冻结失败,批量任务没有成功提交。请联系管理员检查余额冻结或计费服务。',
|
||||
groupDisabled: '当前密钥所属分组没有开启批量生图。你可以换一个已开启批量生图的密钥,或联系管理员开启。',
|
||||
|
||||
Reference in New Issue
Block a user