registerOrReplace<T extends ChatCapability> static method
Register a provider factory, replacing any existing one with the same ID
factory - The factory to register
Implementation
static void registerOrReplace<T extends ChatCapability>(
LLMProviderFactory<T> factory) {
_factories[factory.providerId] = factory;
}