forked from devchat-ai/devchat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor run command and enhance error handling
- Improved 'run' function readability in 'run.py'. - 'list_files' and 'list_names' now raise ValueError for invalid inputs. - These functions also raise ValueError when path is not found. - 'list_names' now directly iterates over returned names. - Updated test case in 'test_namespace.py' for these changes.
- Loading branch information
1 parent
20e0e7d
commit e3b7511
Showing
3 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters