diff options
Diffstat (limited to 'internal/llm/openai.go')
| -rw-r--r-- | internal/llm/openai.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/llm/openai.go b/internal/llm/openai.go index cf18d9b..a119fe7 100644 --- a/internal/llm/openai.go +++ b/internal/llm/openai.go @@ -78,10 +78,6 @@ type oaStreamChunk struct { } `json:"error,omitempty"` } -func init() { - RegisterProvider("openai", openAIProviderFactory) -} - func openAIProviderFactory(cfg Config, keys ProviderKeys) (Client, error) { if strings.TrimSpace(keys.OpenAIAPIKey) == "" { return nil, missingAPIKeyError("openai", "OPENAI_API_KEY", "HEXAI_OPENAI_API_KEY") |
