summaryrefslogtreecommitdiff
path: root/internal/llm/provider.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/llm/provider.go')
-rw-r--r--internal/llm/provider.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/llm/provider.go b/internal/llm/provider.go
index 255297c..d1ff404 100644
--- a/internal/llm/provider.go
+++ b/internal/llm/provider.go
@@ -152,7 +152,7 @@ func RegisterAllProviders() {
func NewFromConfig(cfg Config, openAIAPIKey, openRouterAPIKey, anthropicAPIKey, ollamaAPIKey string) (Client, error) {
provider := normalizeProvider(cfg.Provider)
if provider == "" {
- provider = "openai"
+ provider = "ollama"
}
factory, ok := lookupProviderFactory(provider)