()
| 61 | } |
| 62 | |
| 63 | export async function initializeProviders(): Promise<void> { |
| 64 | for (const [id, provider] of Object.entries(providerRegistry)) { |
| 65 | if (provider.initialize) { |
| 66 | try { |
| 67 | await provider.initialize() |
| 68 | logger.info(`Initialized provider: ${id}`) |
| 69 | } catch (error) { |
| 70 | logger.error(`Failed to initialize ${id} provider`, { |
| 71 | error: getErrorMessage(error, 'Unknown error'), |
| 72 | }) |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | } |
nothing calls this directly
no test coverage detected