Skip to content

Commit e9b113b

Browse files
Load/save up to 500 lines in example.
1 parent 2b8bae2 commit e9b113b

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

bp-examples/scripts/run-agent-cycles.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
else:
2222
CYCLES_CNT = 1
2323

24-
max_steps_input = input("Enter max steps per cycle (press Enter for default: 50): ").strip()
24+
max_steps_input = input("Enter max steps per cycle (press Enter for default: 100): ").strip()
2525
if max_steps_input:
2626
try:
2727
MAX_STEPS_PER_CYCLE = int(max_steps_input)
2828
except ValueError:
29-
print(f"Invalid number '{max_steps_input}', using default: 50")
30-
MAX_STEPS_PER_CYCLE = 50
29+
print(f"Invalid number '{max_steps_input}', using default: 100")
30+
MAX_STEPS_PER_CYCLE = 100
3131
else:
32-
MAX_STEPS_PER_CYCLE = 50
32+
MAX_STEPS_PER_CYCLE = 100
3333

3434
planning_interval_input = input("Enter planning interval (press Enter for default: 22): ").strip()
3535
if planning_interval_input:
@@ -177,11 +177,7 @@
177177
<your-task>
178178
Inside the solution1 folder, code a task manager in plain pascal.
179179
If the folder is empty, start from scratch please. Otherwise, add new features.
180-
Each pascal file should not exceed 500 lines. This is done to save the context size of AI when working on this project.
181-
182-
To make pascal files to respect the line count limit size, you can inherit classes.
183-
184-
You can create as many pascal files you would like as long as you respect the line count limit.
180+
When loading source code for verifying existing code, never load more than 500 lines. When saving, never save more than 500 lines. Try to save only what is changing. This is done to save the context size of AI when working on this project.
185181
186182
Please feel free to be bold and show your your creativity when adding new features.
187183

0 commit comments

Comments
 (0)