@@ -74,7 +74,7 @@ func getCfg(path string) Cfg {
}
if cfg.APIKey == "" { cfg.APIKey = os.Getenv("OPENAI_API_KEY") }
if (cfg.APIKey == "" || cfg.APIKey == "-") && os.Getenv("OPENAI_API_KEY") != "" { cfg.APIKey = os.Getenv("OPENAI_API_KEY") }
return cfg
The note is not visible to the blocked user.