You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Calculate dynamic tier ranges based on max_iterations
2748
+
let simple_min = std::cmp::max(1,(max_iterations asf32*0.12).round()asusize);
2749
+
let simple_max = std::cmp::max(2,(max_iterations asf32*0.2).round()asusize);
2750
+
let medium_min = std::cmp::max(3,(max_iterations asf32*0.32).round()asusize);
2751
+
let medium_max = std::cmp::max(5,(max_iterations asf32*0.48).round()asusize);
2752
+
let complex_min = std::cmp::max(8,(max_iterations asf32*0.6).round()asusize);
2753
+
let complex_max = std::cmp::max(12,(max_iterations asf32*0.8).round()asusize);
2754
+
2755
+
format!(
2756
+
"\n## Tool Use Budget\n\nYou have a maximum of {} tool-use iterations to complete this task. Plan efficiently:\n\n- **Complex tasks** (build projects, multiple files): ~{}-{} iterations\n- **Medium tasks** (modify existing code): ~{}-{} iterations\n- **Simple tasks** (read files, explain): ~{}-{} iterations\n\nIf approaching the limit, prioritize:\n1. Complete the critical path first (create → build → verify)\n2. Skip verification steps if already confident\n3. Provide partial results with explanation rather than failing\n\n",
0 commit comments