6b92e676dc
- Added a check for null or undefined config in registerProviderConfig function. - Updated tests to ensure proper error messages are thrown when no providers are registered. - Adjusted mock implementations in generateImage tests to reflect changes in provider model identifiers.