health score
This commit is contained in:
6
main.go
6
main.go
@@ -462,8 +462,12 @@ func main() {
|
||||
log.Printf("mail: sending as %s via %s", cfg.Mail.FromAddress, cfg.Mail.Address())
|
||||
}
|
||||
|
||||
// NUTRITION_BASE is the catalogue-intelligence host — the same service the
|
||||
// console reads its health score card from. Unset means product screens
|
||||
// carry no nutrition panel, and nothing else changes.
|
||||
f := facade.NewFacade(db.DB, db.CatalogueDB, embedder, chat,
|
||||
os.Getenv("ASSISTANT_AGENTS_DIR"), cfg.Assistant.Why(), mailer, cfg.Mail)
|
||||
os.Getenv("ASSISTANT_AGENTS_DIR"), cfg.Assistant.Why(), mailer, cfg.Mail,
|
||||
os.Getenv("NUTRITION_BASE"))
|
||||
|
||||
routes.RegisterRoutes(app, f)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user