redhairedshanks1 commited on
Commit
7482bb6
·
1 Parent(s): 6427bef

Update services/pipeline_executor.py

Browse files
Files changed (1) hide show
  1. services/pipeline_executor.py +3 -1
services/pipeline_executor.py CHANGED
@@ -146,9 +146,11 @@ Action Input: {{"param1": "value1", "param2": value2}}
146
  After you write Action and Action Input, I will execute the tool and give you the Observation.
147
  Then you can take another Action or provide your Final Answer.
148
 
149
- CRITICAL:
150
  - Write "Action:" followed by the tool name
151
  - Write "Action Input:" followed by valid JSON on the SAME line or next line
 
 
152
  - After seeing Observation, you can take another Action
153
  - When done, write "Final Answer:" followed by summary
154
 
 
146
  After you write Action and Action Input, I will execute the tool and give you the Observation.
147
  Then you can take another Action or provide your Final Answer.
148
 
149
+ CRITICAL RULES:
150
  - Write "Action:" followed by the tool name
151
  - Write "Action Input:" followed by valid JSON on the SAME line or next line
152
+ - For page parameters: start_page must be >= 1, end_page must be >= 1
153
+ - To process ALL pages, use end_page: 999 (NOT -1!)
154
  - After seeing Observation, you can take another Action
155
  - When done, write "Final Answer:" followed by summary
156