When running /learn on a directory, capture and skip files that couldn't be learned #423
Labels
enhancement
New feature or request
@jupyter-ai/chatui
project:learn-ask
/learn and /ask commands, discoverability
Problem
When the user chooses to learn a folder, and at least one item in the folder cannot be read, we fail without indicating which file(s) cannot be learned. This is a bad user experience.
Proposed Solution
When a single file fails to be embedded, try other files.
Produce output indicating which file(s) failed.
Capture errors for affected files in a log file. Make the log file available in the root directory and have Jupyternaut tell the user about it.
Additional context
See #422 for a similar issue concerning the
/generate
command.The text was updated successfully, but these errors were encountered: