refactor: remove omitProviderInModelName functionality and related localization

- Removed the omitProviderInModelName key from PreferenceKeys and its associated logic throughout the codebase.
- Updated SettingsService and AppSettings to eliminate references to the omitted provider functionality.
- Cleaned up related localization strings in multiple languages to reflect the removal of this feature.
- Enhanced code clarity and maintainability by streamlining settings management.
This commit is contained in:
cogwheel0
2025-10-04 23:43:35 +05:30
parent f4e4e86c38
commit 072453d588
14 changed files with 6 additions and 143 deletions

View File

@@ -584,10 +584,6 @@
"@display": {"description": "Section header for visual and layout related settings."},
"realtime": "Realtime",
"@realtime": {"description": "Section header for realtime/transport settings."},
"hideProviderInModelNames": "Hide provider in model names",
"@hideProviderInModelNames": {"description": "Toggle label to hide the provider prefix in model names (e.g., show gpt-4o instead of openai/gpt-4o)."},
"hideProviderInModelNamesDescription": "Show names like \"gpt-4o\" instead of \"openai/gpt-4o\".",
"@hideProviderInModelNamesDescription": {"description": "Helper text for provider hiding toggle."},
"transportMode": "Transport mode",
"@transportMode": {"description": "Title for selecting the networking transport used for realtime."},
"transportModeDescription": "Choose how the app connects for realtime updates.",