feat(webui): simplify model preset settings (#5061)

This commit is contained in:
chengyongru
2026-07-24 00:55:06 +08:00
committed by GitHub
parent d993c81f08
commit aae259c790
29 changed files with 4548 additions and 1182 deletions
+57 -4
View File
@@ -115,6 +115,39 @@
"configurationName": "Configuration name",
"configurationNameHelp": "Rename this saved model configuration.",
"configurationNamePlaceholder": "Fast writing",
"callOrder": "Model call order",
"primary": "Primary",
"fallbackNumber": "Fallback {{number}}",
"addToOrder": "Enable preset",
"newPreset": "New model preset",
"newPresetHelp": "Save a reusable model and its generation settings.",
"presets": "Model presets",
"editPreset": "Edit preset",
"presetName": "Preset name",
"presetNameHelp": "A short name used throughout model settings.",
"presetNamePlaceholder": "Fast writing",
"advancedOptions": "Advanced options",
"advancedSummary": "Context {{context}} · Max {{max}} tokens",
"maxTokens": "Max output tokens",
"temperature": "Temperature",
"reasoningEffort": "Reasoning effort",
"convertTitle": "Convert the current model setup",
"convertHelp": "Turn the existing primary and fallback models into presets so their order can be managed here.",
"converting": "Converting...",
"convertAction": "Convert to presets",
"dragToReorder": "Drag to reorder",
"moveUp": "Move up",
"moveDown": "Move down",
"removeFromOrder": "Disable preset",
"inCallOrder": "In call order",
"disabled": "Disabled",
"noPresets": "No model presets yet",
"noPresetsHelp": "Create a preset, then add it to the call order.",
"removeBeforeDelete": "Remove this preset from the call order before deleting it.",
"providerSetupRequired": "Provider setup required",
"configureProviderBeforeSaving": "Configure this provider before saving the preset.",
"deletePresetTitle": "Delete model preset?",
"deletePresetHelp": "This removes the preset “{{name}}”. Provider credentials are not affected.",
"searchModels": "Search or type model ID",
"useCustomModel": "Use",
"loadingModels": "Loading models...",
@@ -180,7 +213,7 @@
"theme": "Switch between light and dark appearance.",
"language": "Choose the language used by the WebUI.",
"provider": "Select the provider that should serve new model requests.",
"model": "Set the default model name used by nanobot.",
"model": "Choose the model used by this preset.",
"configPath": "The gateway configuration file currently in use.",
"currentModel": "Used for new replies.",
"selectedModelProvider": "Set by the selected model.",
@@ -331,6 +364,7 @@
"comfortable": "Comfortable",
"compact": "Compact",
"auto": "Auto",
"default": "Default",
"expanded": "Expanded",
"summary": "Summary",
"diff": "Diff",
@@ -364,7 +398,11 @@
"actions": {
"save": "Save",
"saving": "Saving",
"saveOrder": "Save order",
"savePreset": "Save preset",
"edit": "Edit",
"delete": "Delete",
"deleting": "Deleting...",
"cancel": "Cancel",
"open": "Open",
"export": "Export",
@@ -372,7 +410,7 @@
"exporting": "Exporting..."
},
"byok": {
"description": "Bring your own provider keys. Nanobot reads these values from the current config and only configured providers can be selected in General.",
"description": "Bring your own provider keys. Nanobot reads these values from the current config and only configured providers can be used in model presets.",
"configured": "Configured",
"notConfigured": "Not configured",
"configuredSection": "Configured",
@@ -449,9 +487,24 @@
}
},
"providers": {
"title": "Model providers",
"searchPlaceholder": "Search providers",
"noMatches": "No providers match this search.",
"saveProvider": "Save provider"
"addOwnProvider": "Add your own model provider",
"customProvider": "Custom provider",
"customProviderName": "Provider name",
"customProviderNamePlaceholder": "My model provider",
"saveProvider": "Save provider",
"advancedOptions": "Advanced options",
"saveAdvancedBeforeSignIn": "Save advanced changes before signing in.",
"apiType": "API type",
"proxy": "Network proxy",
"thinkingStyle": "Thinking style",
"region": "Region",
"profile": "Profile",
"extraHeaders": "Extra headers",
"extraBody": "Extra body",
"extraQuery": "Extra query"
},
"legal": {
"thirdPartyBrands": "Product names, logos, and brands are property of their respective owners. Use is for identification only and does not imply endorsement."
@@ -721,7 +774,7 @@
"signInHelp": "Sign in from this device; no API key is stored in config.",
"remoteSignInHelp": "Select Sign in to open xAI on your computer, then paste the authorization code shown after login.",
"signInRequired": "Sign in required",
"signInBeforeSaving": "Sign in before saving this OAuth provider as the active model provider.",
"signInBeforeSaving": "Sign in before saving this provider in the preset.",
"signedIn": "Signed in",
"notSignedIn": "Not signed in",
"proxyLabel": "Network proxy",