From f1f67e7b080912069fd0525013f2bbc6d11f01db Mon Sep 17 00:00:00 2001 From: tcollins Date: Thu, 24 Oct 2024 14:46:11 -0400 Subject: [PATCH] added chat prompts config logic to wizard --- lib/galaxy/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/config/__init__.py b/lib/galaxy/config/__init__.py index 20be5584ef8f..bb5269531c37 100644 --- a/lib/galaxy/config/__init__.py +++ b/lib/galaxy/config/__init__.py @@ -1252,7 +1252,7 @@ def _load_chat_prompts(self): try: with open(chat_prompts_path, "r", encoding="utf-8") as file: data = json.load(file) - self.chat_prompts = data.get("prompts", {}) + self.openai_chat_prompts = data.get("prompts", {}) except json.JSONDecodeError as e: log.error(f"JSON decoding error in chat prompts file: {e}") except Exception as e: