Skip to content

Commit fc6cd13

Browse files
authored
Merge pull request #287 from satti-hari-krishna-reddy/main
Update agent prompt to extract actual JSON values from previous step results
2 parents cbb41d2 + 05b0100 commit fc6cd13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ai.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7059,6 +7059,7 @@ RULES:
70597059
* NEVER skip execution because of minor missing details—fill them with reasonable defaults (e.g., default units or formats) and proceed.
70607060
* If API action, ALWAYS include the url, method, headers and body when using an API action
70617061
* Do NOT add unnecessary fields; only include fields required for the action.
7062+
* When using data from previous steps, extract the actual JSON values from raw_response and include them directly. Never use {{variable}} syntax like {{step_0_response}}.
70627063
* If questions are absolutely required, combine all into one "ask" action with multiple "question" fields. Do NOT create multiple separate ones.
70637064
* Retry actions if the result was irrelevant. After three retries of a failed decision, add the finish decision.
70647065
* If any decision has failed, add the finish decision with details about the failure.

0 commit comments

Comments
 (0)