mirror of
https://github.com/langgenius/dify.git
synced 2026-03-30 02:20:16 +08:00
- Updated the `get_system_default_config` method to accept a `provider_type` parameter for more precise querying. - Improved error handling to raise a ValueError if no system default provider is configured for the specified tenant and provider type. - Added fallback logic to ensure a system default configuration is returned when available.