mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-03 11:20:50 +08:00
feat: add vertex provider, oauth model mappings, and routing/log settings
This commit is contained in:
@@ -137,11 +137,22 @@
|
||||
"usage_statistics_enable": "Enable usage statistics",
|
||||
"logging_title": "Logging",
|
||||
"logging_to_file_enable": "Enable logging to file",
|
||||
"logs_max_total_size_title": "Log Size Limit",
|
||||
"logs_max_total_size_label": "Total log size cap (MB):",
|
||||
"logs_max_total_size_hint": "Set to 0 to disable the limit.",
|
||||
"logs_max_total_size_update": "Update",
|
||||
"request_log_title": "Request Logging",
|
||||
"request_log_enable": "Enable request logging",
|
||||
"request_log_warning": "Keep this off unless you need detailed troubleshooting.",
|
||||
"force_model_prefix_enable": "Force model prefix",
|
||||
"ws_auth_title": "WebSocket Authentication",
|
||||
"ws_auth_enable": "Require auth for /ws/*"
|
||||
"ws_auth_enable": "Require auth for /ws/*",
|
||||
"routing_title": "Routing Strategy",
|
||||
"routing_strategy_label": "Routing strategy:",
|
||||
"routing_strategy_hint": "round-robin cycles through keys; fill-first prioritizes the first available key.",
|
||||
"routing_strategy_update": "Update",
|
||||
"routing_strategy_round_robin": "round-robin (cycle)",
|
||||
"routing_strategy_fill_first": "fill-first (prioritize)"
|
||||
},
|
||||
"api_keys": {
|
||||
"title": "API Keys Management",
|
||||
@@ -221,6 +232,27 @@
|
||||
"claude_models_hint": "Leave empty to allow all models, or add name[, alias] entries to limit/alias them.",
|
||||
"claude_models_add_btn": "Add Model",
|
||||
"claude_models_count": "Models Count",
|
||||
"vertex_title": "Vertex API Configuration",
|
||||
"vertex_add_button": "Add Configuration",
|
||||
"vertex_empty_title": "No Vertex Configuration",
|
||||
"vertex_empty_desc": "Click the button above to add the first configuration",
|
||||
"vertex_item_title": "Vertex Configuration",
|
||||
"vertex_add_modal_title": "Add Vertex API Configuration",
|
||||
"vertex_add_modal_key_label": "API Key:",
|
||||
"vertex_add_modal_key_placeholder": "Please enter Vertex API key",
|
||||
"vertex_add_modal_url_label": "Base URL (Required):",
|
||||
"vertex_add_modal_url_placeholder": "e.g.: https://example.com/api",
|
||||
"vertex_add_modal_proxy_label": "Proxy URL (Optional):",
|
||||
"vertex_add_modal_proxy_placeholder": "e.g.: socks5://proxy.example.com:1080",
|
||||
"vertex_edit_modal_title": "Edit Vertex API Configuration",
|
||||
"vertex_edit_modal_key_label": "API Key:",
|
||||
"vertex_edit_modal_url_label": "Base URL (Required):",
|
||||
"vertex_edit_modal_proxy_label": "Proxy URL (Optional):",
|
||||
"vertex_delete_confirm": "Are you sure you want to delete this Vertex configuration?",
|
||||
"vertex_models_label": "Model mappings (alias required):",
|
||||
"vertex_models_add_btn": "Add Mapping",
|
||||
"vertex_models_hint": "Each mapping needs both the original model and its alias.",
|
||||
"vertex_models_count": "Mapping count",
|
||||
"ampcode_title": "Amp CLI Integration (ampcode)",
|
||||
"ampcode_modal_title": "Configure Ampcode",
|
||||
"ampcode_upstream_url_label": "Upstream URL",
|
||||
@@ -468,6 +500,34 @@
|
||||
"upgrade_required_title": "Please upgrade CLI Proxy API",
|
||||
"upgrade_required_desc": "The current server does not support the OAuth excluded models API. Please upgrade to the latest CLI Proxy API (CPA) version."
|
||||
},
|
||||
"oauth_model_mappings": {
|
||||
"title": "OAuth Model Mappings",
|
||||
"add": "Add Mapping",
|
||||
"add_title": "Add provider model mappings",
|
||||
"provider_label": "Provider",
|
||||
"provider_placeholder": "e.g. gemini-cli / vertex",
|
||||
"provider_hint": "Defaults to the current filter; pick an existing provider or type a new name.",
|
||||
"mappings_label": "Model mappings",
|
||||
"mapping_name_placeholder": "Source model name",
|
||||
"mapping_alias_placeholder": "Alias (required)",
|
||||
"mapping_fork_label": "Keep original",
|
||||
"mappings_hint": "Saving an empty list removes that provider. Enable “Keep original” to keep the original name while adding the alias.",
|
||||
"add_mapping": "Add mapping",
|
||||
"save": "Save/Update",
|
||||
"save_success": "Model mappings updated",
|
||||
"save_failed": "Failed to update model mappings",
|
||||
"delete": "Delete Provider",
|
||||
"delete_confirm": "Delete model mappings for {{provider}}?",
|
||||
"delete_success": "Model mappings removed",
|
||||
"delete_failed": "Failed to delete model mappings",
|
||||
"no_models": "No model mappings",
|
||||
"model_count": "{{count}} mappings",
|
||||
"list_empty_all": "No model mappings yet—use “Add Mapping” to create one.",
|
||||
"provider_required": "Please enter a provider first",
|
||||
"upgrade_required": "This feature requires a newer CLI Proxy API (CPA) version. Please upgrade.",
|
||||
"upgrade_required_title": "Please upgrade CLI Proxy API",
|
||||
"upgrade_required_desc": "The current server does not support the OAuth model mappings API. Please upgrade to the latest CLI Proxy API (CPA) version."
|
||||
},
|
||||
"auth_login": {
|
||||
"codex_oauth_title": "Codex OAuth",
|
||||
"codex_oauth_button": "Start Codex Login",
|
||||
@@ -766,8 +826,11 @@
|
||||
"quota_switch_preview_updated": "Preview model switch settings updated",
|
||||
"usage_statistics_updated": "Usage statistics settings updated",
|
||||
"logging_to_file_updated": "Logging settings updated",
|
||||
"logs_max_total_size_updated": "Log size limit updated",
|
||||
"request_log_updated": "Request logging setting updated",
|
||||
"force_model_prefix_updated": "Model prefix setting updated",
|
||||
"ws_auth_updated": "WebSocket authentication setting updated",
|
||||
"routing_strategy_updated": "Routing strategy updated",
|
||||
"login_storage_cleared": "Local login data cleared",
|
||||
"api_key_added": "API key added successfully",
|
||||
"api_key_updated": "API key updated successfully",
|
||||
@@ -786,6 +849,10 @@
|
||||
"claude_config_added": "Claude configuration added successfully",
|
||||
"claude_config_updated": "Claude configuration updated successfully",
|
||||
"claude_config_deleted": "Claude configuration deleted successfully",
|
||||
"vertex_config_added": "Vertex configuration added successfully",
|
||||
"vertex_config_updated": "Vertex configuration updated successfully",
|
||||
"vertex_config_deleted": "Vertex configuration deleted successfully",
|
||||
"vertex_base_url_required": "Please enter the Vertex Base URL",
|
||||
"config_enabled": "Configuration enabled",
|
||||
"config_disabled": "Configuration disabled",
|
||||
"field_required": "Required fields cannot be empty",
|
||||
|
||||
Reference in New Issue
Block a user