mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-01 05:14:25 +00:00
feat(provider): optimize provider and model configuration management (#377)
* feat(provider): optimize provider and model configuration management * style(provider): use default tabs variant in provider settings dialog * style(provider): make tabs list full width * feat(provider): make model card row clickable and remove pencil edit icon * feat(settings): persist active settings tab in url hash * feat(agent): add search box and alphabetical sorting for provider and model selectors * refactor(providers): remove frontend pagination and display all models in scrollable list * fix(providers): address code review findings for model editing, i18n, and api protocol propagation
This commit is contained in:
@@ -312,6 +312,7 @@
|
||||
"configured_ai_providers": "Configured AI Providers",
|
||||
"add_provider": "Add Provider",
|
||||
"search_providers_placeholder": "Search providers...",
|
||||
"no_providers_found": "No providers found",
|
||||
"built_in": "Built-in",
|
||||
"models_count": "Models",
|
||||
"n_models_count": "{count} Models",
|
||||
@@ -340,6 +341,20 @@
|
||||
"api_key_description": "You can provide a literal value (e.g. sk-...) or an Environment variable name (e.g. MY_API_KEY).",
|
||||
"models_configuration": "Models Configuration",
|
||||
"add_model": "Add Model",
|
||||
"edit_model": "Edit Model",
|
||||
"delete_model": "Delete Model",
|
||||
"delete_model_confirmation": "This action cannot be undone. This will permanently delete the model \"{name}\".",
|
||||
"model_created_successfully": "Model created successfully",
|
||||
"model_updated_successfully": "Model updated successfully",
|
||||
"model_deleted_successfully": "Model deleted successfully",
|
||||
"models": "Models",
|
||||
"search_models_placeholder": "Search models by ID or name...",
|
||||
"no_models_found": "No models found",
|
||||
"page_info": "Page {current} of {total}",
|
||||
"previous": "Previous",
|
||||
"next": "Next",
|
||||
"pricing": "Pricing ($ per 1M tokens)",
|
||||
"parameters": "Parameters",
|
||||
"model_id": "Model ID",
|
||||
"display_name_optional": "Display Name (Optional)",
|
||||
"reasoning_support": "Reasoning Support",
|
||||
@@ -347,8 +362,16 @@
|
||||
"max_output_tokens": "Max Output Tokens",
|
||||
"input_cost_1m": "Input Cost (1M)",
|
||||
"output_cost_1m": "Output Cost (1M)",
|
||||
"tokens": "tokens",
|
||||
"cache_read_cost_1m": "Cache Read Cost (1M)",
|
||||
"cache_write_cost_1m": "Cache Write Cost (1M)",
|
||||
"save_configuration": "Save Configuration",
|
||||
"at_least_one_model_required": "At least one model is required",
|
||||
"model_id_already_exists": "Model ID already exists for this provider",
|
||||
"model_id_placeholder": "e.g., gpt-4o, claude-3-5-sonnet-20241022",
|
||||
"model_name_placeholder": "e.g., GPT-4o",
|
||||
"cost_per_million": "${input}/1M in · ${output}/1M out",
|
||||
"max_tokens_label": "max {count}",
|
||||
"provider": "Provider",
|
||||
"model": "Model",
|
||||
"select_provider": "Select Provider",
|
||||
|
||||
Reference in New Issue
Block a user