mirror of
https://github.com/langgenius/dify.git
synced 2026-03-15 11:57:10 +08:00
- Added tests for ModelSelectorTrigger to validate rendering based on credential panel state, including handling of credits exhausted scenarios. - Updated ModelSelectorTrigger component to utilize useCredentialPanelState for determining status and rendering appropriate UI elements. - Adjusted related tests to ensure correct behavior when model quota is exceeded and when the selected model is readonly. - Improved styling for credits exhausted badge in the component.