Spaces:
Sleeping
Sleeping
Update prompts/prompts.py
Browse files- prompts/prompts.py +1 -1
prompts/prompts.py
CHANGED
|
@@ -12,7 +12,7 @@ def load_prompts():
|
|
| 12 |
"""Builds a CodeAgent using the custom system and planning prompts from code_agent.yaml."""
|
| 13 |
|
| 14 |
# 1) Load YAML
|
| 15 |
-
|
| 16 |
y = yaml.safe_load(f)
|
| 17 |
|
| 18 |
# 2) Build PromptTemplates
|
|
|
|
| 12 |
"""Builds a CodeAgent using the custom system and planning prompts from code_agent.yaml."""
|
| 13 |
|
| 14 |
# 1) Load YAML
|
| 15 |
+
with open("prompts/code_agent.yaml", "r", encoding="utf-8") as f:
|
| 16 |
y = yaml.safe_load(f)
|
| 17 |
|
| 18 |
# 2) Build PromptTemplates
|