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
{{ message }}
Repository navigation
cli: leftover algorithms run refusal recipes still omit --model / --base-url that plan requires #1291
On tip ffae7bcd (after #1290 / #1276), first-run algorithms run recipes on the host skill, the /algorithms slash command, Grok Bot HOST.md, the generated docs/algorithms.md cheatsheet, and the plugin-quickstart refusal line already name --model <model> [--base-url <url>]. Two live CLI refusal recipes that a user would copy were not in that set:
demo --algorithm NAME when NAME is a registered card but not an offline demo algorithm. The error still reads:
Run it for real with `agentdescent algorithms run NAME <path> <cases.jsonl>`
docs/plugin-quickstart.md already documents this refusal with --model <model> [--base-url <url>]. The CLI (and MCP demo, which uses the same demo_payload) does not. All seven built-in cards are in OFFLINE_ALGORITHMS today, so this path is a third-party or newly registered card, or a future card — but the page still promises the flags, and following the live error writes placeholders that plan refuses.
kind_mismatch_message still suggests:
agentdescent algorithms run NAME FILE --kind text
(and the init … --algorithm NAME form) without those flags. This path is hit today: algorithms run gepa <skill-dir> is a common first-run mistake (gepa is text-only). Copying the hint then exits on placeholders instead of planning.
init / algorithms run never guess a model or endpoint.
Expected
Both refusal recipes should name --model <model> [--base-url <url>], the same shape #1276 already uses on first-run algorithms run recipes. Placeholder refusal stays. No model name is guessed.
Suggested fix
Add the flags to the demo --algorithm live-model refusal in agentdescent/cli.py.
Add the flags to both via="run" and via="init" hints in kind_mismatch_message.
Pin them in tests/test_demo.py and tests/test_cli_algorithms_run.py.
changelog.d/<n>-run-refusal-model-flags.md.
Acceptance
The demo --algorithm live-model error (CLI and MCP demo) includes --model <model> [--base-url <url>].
The kind-mismatch one-file hint includes the same flags.
pytest -q -o addopts='' tests/test_demo.py tests/test_cli_algorithms_run.py passes, including the new pins.
A bare algorithms run without the flags still refuses placeholders.
Activity