From c389fac78a36d2b4f6ef7d3a1bec10837d5d658a Mon Sep 17 00:00:00 2001 From: James Date: Mon, 9 Feb 2026 02:06:39 -0500 Subject: [PATCH] fix: update Makefile and paths for tracker_prompts directory --- Makefile | 2 +- api/api_llm.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 91d810b..5ad5ed2 100755 --- a/Makefile +++ b/Makefile @@ -94,7 +94,7 @@ deploy: check-db all $(BINDIR)/decrypt $(BINDIR)/fips-check rsync -avz --delete portal/templates/ $(STAGING_HOST):$(DEPLOY_DIR)/templates/ rsync -avz portal/static/ $(STAGING_HOST):$(DEPLOY_DIR)/static/ rsync -avz portal/lang/ $(STAGING_HOST):$(DEPLOY_DIR)/lang/ - rsync -avz api/prompts/ $(STAGING_HOST):$(DEPLOY_DIR)/prompts/ + rsync -avz api/tracker_prompts/ $(STAGING_HOST):$(DEPLOY_DIR)/tracker_prompts/ ssh $(STAGING_HOST) "$(DEPLOY_DIR)/start.sh" @echo "" ssh $(STAGING_HOST) "$(DEPLOY_DIR)/status.sh" diff --git a/api/api_llm.go b/api/api_llm.go index 8ea40c6..12683f1 100644 --- a/api/api_llm.go +++ b/api/api_llm.go @@ -53,9 +53,9 @@ func loadLLMConfig() { // Initialize trackers directory exe, _ := os.Executable() - promptsDir := filepath.Join(filepath.Dir(exe), "..", "api", "trackers") + promptsDir := filepath.Join(filepath.Dir(exe), "..", "api", "tracker_prompts") if _, err := os.Stat(promptsDir); os.IsNotExist(err) { - promptsDir = "trackers" // Dev fallback + promptsDir = "tracker_prompts" // Dev fallback } lib.InitPrompts(promptsDir) log.Printf("Prompts directory set to: %s", lib.TrackerPromptsDir())