Hide LLM responses behind a config flag
Some checks failed
/ golint (push) Has been cancelled

...that we never use. I'm just turning it off for now, but I want the
linter to think it could be live at any moment.
This commit is contained in:
Eli Ribble 2026-05-19 15:11:16 +00:00
parent 71463433e7
commit e2bd38d665
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View file

@ -13,6 +13,7 @@ var (
Bind string
ClientID string
ClientSecret string
DoLLMResponse bool
DomainRMO string
DomainNidus string
DomainTegola string
@ -82,6 +83,7 @@ func Parse() (err error) {
if ClientSecret == "" {
return fmt.Errorf("You must specify a non-empty ARCGIS_CLIENT_SECRET")
}
DoLLMResponse = false
DomainNidus = os.Getenv("DOMAIN_NIDUS")
if DomainNidus == "" {
return fmt.Errorf("You must specify a non-empty DOMAIN_NIDUS")