Spaces:
Running
Running
Commit
·
ed57d5d
1
Parent(s):
8572793
space check
Browse files- app/core_logic.py +1 -1
app/core_logic.py
CHANGED
|
@@ -35,7 +35,7 @@ META_LLM_MODEL = "x-ai/grok-4-fast"
|
|
| 35 |
def load_master_prompt():
|
| 36 |
"""Loads the current system message from the master configuration file."""
|
| 37 |
try:
|
| 38 |
-
#
|
| 39 |
return json.loads(MASTER_PROMPT_PATH.read_text())
|
| 40 |
except FileNotFoundError:
|
| 41 |
# Create the file with initial data if it doesn't exist
|
|
|
|
| 35 |
def load_master_prompt():
|
| 36 |
"""Loads the current system message from the master configuration file."""
|
| 37 |
try:
|
| 38 |
+
# Using Path.read_text() is clean and safe
|
| 39 |
return json.loads(MASTER_PROMPT_PATH.read_text())
|
| 40 |
except FileNotFoundError:
|
| 41 |
# Create the file with initial data if it doesn't exist
|