blob: 87015aa6917d6d1056429664f895d49401548579 [file] [log] [blame]
Staff Ceod27c43b2025-07-26 13:07:10 +04001package providers
2
3import (
4 _ "github.com/iomodo/staff/llm/openai" // Register OpenAI provider
5)
6
7// RegisterAll registers all available LLM providers
8func RegisterAll() {
9 // Import all provider packages to trigger their init() functions
10 // This ensures all providers are registered when this package is imported
11 _ = "import all providers"
12}
13
14// EnsureRegistered ensures all providers are registered
15// This function can be called from anywhere to ensure providers are available
16func EnsureRegistered() {
17 // The blank imports below will trigger the init() functions
18 // which register the providers with the LLM factory
19}