mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-21 07:40:11 +08:00
- 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. |
||
|---|---|---|
| .. | ||
| classification.json | ||
| inventory.json | ||