You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Huang f07e5bb522
Add GET /internal/files. (#4295)
* Create internal route table.

* List files.

* Add GET /internal/files.

Retrieves list of files in models, output, and user directories.

* Refactor file names.

* Use typing_extensions for Python 3.8

* Fix tests.

* Remove print statements.

* Update README.

* Add output and user to valid directory test.

* Add missing type hints.
6 months ago
..
app_test Add `FrontendManager` to manage non-default front-end impl (#3897) 7 months ago
prompt_server_test Add model downloading endpoint. (#4248) 6 months ago
server Add GET /internal/files. (#4295) 6 months ago
README.md Add `FrontendManager` to manage non-default front-end impl (#3897) 7 months ago
requirements.txt Add model downloading endpoint. (#4248) 6 months ago

README.md

Pytest Unit Tests

Install test dependencies

pip install -r tests-units/requirements.txt

Run tests

pytest tests-units/