bastion 0.63.1
ci / personal-data (push) Successful in 4s
ci / test (push) Successful in 4m58s
ci / fuzz (push) Successful in 3m33s

This commit is contained in:
Privatae
2026-11-03 22:56:18 +00:00
parent 2043fa5e9e
commit 48899b41a9
78 changed files with 10366 additions and 307 deletions
+8 -1
View File
@@ -31,4 +31,11 @@ var agentTokenEnvNames = []string{"PRIVATAE_AGENT_TOKEN", "SKEMA_AGENT_TOKEN"}
// written.
func piiTarget() string { return os.Getenv("PRIVATAE_PII_ADDR") }
func llmTarget() string { return os.Getenv("PRIVATAE_LLM_ADDR") }
// llmTarget is PRIVATAE_LLM_ADDR, or, unset, the OpenAI-compatible server
// found on this machine's loopback (llmlocal.go), "" when there is none.
func llmTarget() string {
if v := os.Getenv("PRIVATAE_LLM_ADDR"); v != "" {
return v
}
return discoveredLLM().Addr
}