mirror of
https://github.com/langgenius/dify.git
synced 2026-03-21 22:38:26 +08:00
Unify the credits-support check across useCredentialPanelState and model-selector popup by extracting a pure providerSupportsCredits function. This also fixes the popup's credits-exhausted alert firing for non-trial providers like Minimax and ZHIPU AI.