Function useChatProviderState

React hook returning the three-state description.

Use this to render provider state honestly: show nothing (or a neutral placeholder) while unknown, the connect affordance only on not-configured, and the provider's name on configured.