feat: Unified File Management API (#6100)
* feat: FIrst pass at file management API * [autofix.ci] apply automated fixes * Add delete and edit endpoints * [autofix.ci] apply automated fixes * Add file size and duplicate name handling * Ensure the File model has a unique name * Ensure count is before extension * [autofix.ci] apply automated fixes * Add the correct path to the return * Added function to handle list of paths in File component * [autofix.ci] apply automated fixes * Update input_mixin.py * Refactor to a v2 endpoint * Add unit tests * Update test_files.py * Update frontend.ts * [autofix.ci] apply automated fixes * Remove extension from name * Cast the string type for like * Update files.py * Update base.py * Update base.py --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
This commit is contained in:
parent
cc3417bec7
commit
28e07be870
18 changed files with 635 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
|||
export const BASENAME = "";
|
||||
export const PORT = 3000;
|
||||
export const PROXY_TARGET = "http://127.0.0.1:7860";
|
||||
export const API_ROUTES = ["^/api/v1/", "/health"];
|
||||
export const API_ROUTES = ["^/api/v1/", "/api/v2/", "/health"];
|
||||
export const BASE_URL_API = "/api/v1/";
|
||||
export const HEALTH_CHECK_URL = "/health_check";
|
||||
export const DOCS_LINK = "https://docs.langflow.org";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue