Repository navigation
Commit 96bd10d
zhansheng.lzs
docs(acli): let the expert example answer questions about itself
The Response Strategy offered three question types — issue analysis, API
question, example generation — and the Workflow said to classify into one of
them. A question about the assistant matches none of the three, so it fell
through to the only behaviour left: probe the environment until an answer
turns up.
Observed on a real session: "你现在是什么模型" and "你能干嘛" together burned four
run_command calls, two of which failed on bash syntax under PowerShell, before
producing an answer that was already sitting in the prompt on the Current
model line. Nothing about the assistant is discoverable by running a command.
Add the fourth branch and make the Workflow route to it first, rather than
relying on the anti-pattern list to be re-read: the model was never
classifying these as "explore unrelated files to get oriented", so that line
never applied.
Vendored from agenticCLI-examples 77c5284; the two trees are byte-identical.1 parent bf1c084 commit 96bd10d
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
0 commit comments