- Import APIKeyManager for provider key checking - Use APIKeyManager.get_api_key() instead of get_api_key() function - Add wavespeed provider to available_providers check - Add detailed provider preflight logging with flow_type tag - Improve fallback logic when preferred provider is unavailable These improvements come from PRs #423-#431 while maintaining the modular textgen_utils structure.
22 KiB
22 KiB