From f485b5ea886d0160080f5a6887fba3a2b87437fe Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Fri, 19 Apr 2024 11:54:09 -0600 Subject: [PATCH] from OLLAMA_U_R_L to OLLAMA_URL --- config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.go b/config.go index b0aa83d..c6a61e9 100644 --- a/config.go +++ b/config.go @@ -23,7 +23,7 @@ type Config struct { BasicAuthUser string BasicAuthPassword string FillWithTestdata bool - OllamaURL string + OllamaUrl string OllamaModel string AssetPattern string DatacenterPattern string @@ -129,8 +129,8 @@ func newConfigFromEnv(ctx context.Context, getEnv func(string) string) (Config, } result.storage = storage - if result.OllamaURL != "" { - result.ai = NewAIOllama(result.OllamaURL, result.OllamaModel) + if result.OllamaUrl != "" { + result.ai = NewAIOllama(result.OllamaUrl, result.OllamaModel) } else { result.ai = NewAINoop() }