🐛 fix(graph/base.py): change file_path assignment to use the new file_path key in value dict 🐛 fix(template/field/base.py): change content key to file_path key in result dict ✨ feat(endpoints.py): add endpoint to upload file ✨ feat(cache/base.py): add function to save uploaded file to cache The save_uploaded_file function was not being imported in the endpoints.py module, causing a NameError when trying to use it. The file_path variable in the Node class was being assigned the value of the content key in the value dict, but it should be assigned the value of the file_path key instead. The content key in the TemplateFieldCreator class was changed to file_path to better reflect its purpose. An endpoint to upload files was added to the endpoints.py module, which uses the save_uploaded_file function from the cache.base module to save the uploaded file to the cache. |
||
|---|---|---|
| .. | ||
| langflow | ||
| .gitignore | ||
| Dockerfile | ||