mirror of
https://github.com/langgenius/dify.git
synced 2026-03-28 17:40:53 +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.