Files
DeepTutor/tests/cli
Rudy Celekli 1eb4d01d07 fix(cli): do not crash the chat REPL on a malformed /notebook add ref
In the interactive chat REPL, `/notebook add <ref>` passed the ref straight to
_parse_notebook_refs, which raises typer.BadParameter on an empty notebook id
(e.g. `/notebook add :`). The REPL loop does not guard the _apply_command call,
so the exception propagated out and terminated the whole session — while every
other command (bad /config, unparsable shlex input, etc.) just prints a notice
and keeps the session alive.

Catch BadParameter at the `/notebook add` site, print the message, and continue.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-01 09:09:34 -05:00
..
2026-10-08 11:34:42 +08:00
2026-04-27 21:09:25 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00