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

@@ -828,13 +828,6 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get realtime => 'Realtime';
@override
String get hideProviderInModelNames => 'Hide provider in model names';
@override
String get hideProviderInModelNamesDescription =>
'Show names like \"gpt-4o\" instead of \"openai/gpt-4o\".';
@override
String get transportMode => 'Transport mode';