Spaces:
Sleeping
Sleeping
Commit
·
bd6cd9e
1
Parent(s):
ebc9dfd
Auto commit 2025-06-29 10:40:42
Browse files
app.py
CHANGED
|
@@ -24,8 +24,8 @@ Your answer should only start with "FINAL ANSWER: ", then follows with the answe
|
|
| 24 |
|
| 25 |
# Import tool from Hub
|
| 26 |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
|
| 30 |
|
| 31 |
|
|
@@ -60,7 +60,7 @@ agent = CodeAgent(
|
|
| 60 |
planning_interval=None,
|
| 61 |
name=None,
|
| 62 |
description=None,
|
| 63 |
-
prompt_templates=
|
| 64 |
)
|
| 65 |
|
| 66 |
|
|
|
|
| 24 |
|
| 25 |
# Import tool from Hub
|
| 26 |
|
| 27 |
+
with open("prompts.yaml", 'r') as stream:
|
| 28 |
+
prompt_templates = yaml.safe_load(stream)
|
| 29 |
|
| 30 |
|
| 31 |
|
|
|
|
| 60 |
planning_interval=None,
|
| 61 |
name=None,
|
| 62 |
description=None,
|
| 63 |
+
prompt_templates=prompt_templates
|
| 64 |
)
|
| 65 |
|
| 66 |
|