Track 3: TOML prompts + PURPOSE_LEARNING.md whitepaper — purpose_agent/actor.py
Browse files- purpose_agent/actor.py +10 -10
purpose_agent/actor.py
CHANGED
|
@@ -73,16 +73,16 @@ ACTOR_STEP_PROMPT = """\
|
|
| 73 |
|
| 74 |
Based on the current state and your goal, decide your next action.
|
| 75 |
|
| 76 |
-
Respond in this
|
| 77 |
-
```
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
```
|
| 87 |
"""
|
| 88 |
|
|
|
|
| 73 |
|
| 74 |
Based on the current state and your goal, decide your next action.
|
| 75 |
|
| 76 |
+
Respond in this format:
|
| 77 |
+
```toml
|
| 78 |
+
thought = "Your reasoning about the current state and what to do next"
|
| 79 |
+
expected_delta = "What you expect to change"
|
| 80 |
+
|
| 81 |
+
[action]
|
| 82 |
+
name = "action_name"
|
| 83 |
+
|
| 84 |
+
[action.params]
|
| 85 |
+
param1 = "value1"
|
| 86 |
```
|
| 87 |
"""
|
| 88 |
|