Commit 7a21fe8
committed
fix(v1.10.1): smooth-sail default — bump recursion_limit 25 → 100
Customer-demo setup caught the DEMO research agent returning
`completed_empty` on a realistic 2-part query ("latest Claude + API
pricing per million tokens"). Root cause: blueprint agents inherited
the 25-default recursion_limit, which exhausts on research-heavy
multi-step tool loops.
- `tier1BlueprintToAgentPayload` (Tier 1 / `af agent init`): sets
`recursion_limit: 100` on every create body
- `blueprintToAgentSpecs` (Tier 3 / `af workforce init` slots): same
- 100 is the server-side cap, verified via live agent update against
the backend. Clears every reasonable research / content / multi-
step prompt on first attempt
- `af workforce runs get` and `runs stop` accept `--workforce-id` as
an optional flag for parity with `runs list` — previously hit
`cli_parse_error` when AI operators reached for it by analogy
Verified on-box: the exact 2-part query that previously returned
`completed_empty` at limit=25 now completes with cited pricing data
(Claude Opus $25/$125 per M tokens) on first attempt at limit=100.1 parent 66b8ef5 commit 7a21fe8
5 files changed
Lines changed: 25 additions & 1 deletion
File tree
- packages/cli
- src/cli
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
16 | 28 | | |
17 | 29 | | |
18 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6106 | 6106 | | |
6107 | 6107 | | |
6108 | 6108 | | |
| 6109 | + | |
6109 | 6110 | | |
6110 | 6111 | | |
6111 | 6112 | | |
| |||
6116 | 6117 | | |
6117 | 6118 | | |
6118 | 6119 | | |
| 6120 | + | |
6119 | 6121 | | |
6120 | 6122 | | |
6121 | 6123 | | |
| |||
0 commit comments