Skip to content

Commit

Permalink
added chat prompts config logic to wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
tcollins2011 committed Oct 24, 2024
1 parent f41384f commit f1f67e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f1f67e7

Please sign in to comment.