cherry-studio/v2-refactor-temp/tools
fullex 819f6de64d refactor(api): migrate API server configuration to preference service
- Removed the config module and replaced its usage with preferenceService across the API server implementation.
- Updated the auth middleware to retrieve the API key from preferenceService instead of the config.
- Adjusted the ApiServerService to ensure a valid API key is generated and stored in preferences.
- Refactored the useApiServer hook to utilize the new preference system for API server configuration.
- Updated related tests to mock preferenceService instead of config.
- Cleaned up unused imports and adjusted related components to align with the new configuration approach.
2025-12-02 12:47:30 +08:00
..
data-classify refactor(api): migrate API server configuration to preference service 2025-12-02 12:47:30 +08:00