blob: 98d01a8a2e6d608439a2ee6575e6a4aaf4fb3f02 [file] [log] [blame]
package providers
import (
_ "github.com/iomodo/staff/llm/fake" // Register Fake provider for testing
_ "github.com/iomodo/staff/llm/openai" // Register OpenAI provider
)
// RegisterAll registers all available LLM providers
func RegisterAll() {
// Import all provider packages to trigger their init() functions
// This ensures all providers are registered when this package is imported
_ = "import all providers"
}
// EnsureRegistered ensures all providers are registered
// This function can be called from anywhere to ensure providers are available
func EnsureRegistered() {
// The blank imports below will trigger the init() functions
// which register the providers with the LLM factory
}