3 Commits
Author SHA1 Message Date
Supra4E8C ebb5b7d0c0 Refactor provider credential weight normalization tests and update API key structure
- Updated test cases in `providerWeightTransformers.test.ts` to reflect changes in API key structure from 'api-key-entries' to 'keys'.
- Introduced new tests in `providerWorkbenchUi.test.ts` to verify the editing surface of provider workbench.
- Modified `sponsorCustomEndpoint.test.ts` to adapt to the new API key structure.
- Adjusted `visualConfigAntigravitySensitiveWords.test.ts` and `visualConfigConcurrency.test.ts` to accommodate new YAML structure for sensitive words and concurrency settings.
- Enhanced `visualConfigDefaults.test.ts` to ensure proper handling of boolean defaults and YAML structure.
- Updated `visualConfigDevinSensitiveWords.test.ts` to reflect changes in the YAML structure for sensitive words.
- Refined `visualConfigDisableImageGeneration.test.ts` to align with new multimedia settings.
- Added comprehensive tests in `visualConfigV8.test.ts` to validate the v8 visual config contract and ensure scalar read/write path parity.
- Improved validation tests in `visualConfigValidation.test.ts` to handle new routing and requests structure.
- Cleaned up `xaiApiKeyProvider.test.ts` by removing unnecessary API client mocks and focusing on normalization of the xAI API key contract.
2026-09-28 12:55:16 +08:00
Supra4E8C 8a1d36c823 Refactor provider definitions and remove deprecated brands
- Removed 'claudeApi', 'code0', 'lmuAI', and 'infistar' from provider brands and sponsor definitions.
- Updated related code to ensure compatibility with the removal of deprecated brands.
- Adjusted tests to reflect the removal of 'lmuAI' and 'infistar' providers.
- Simplified provider group building logic to exclude retired brands.
- Updated localization files to remove references to deprecated brands.
2026-09-12 21:04:17 +08:00
Supra4E8C 5b62fa1490 fix(providers): preserve custom sponsor endpoints 2026-07-17 00:55:19 +08:00