Commit graph

6,039 commits

Author SHA1 Message Date
anovazzi1
3fc08cee93 chore(reactflowUtils.ts): add condition to hide code template with CustomComponent proxy in updateGroupNodeTemplate function
The code in the updateGroupNodeTemplate function has been modified to include a condition that checks if the type is "code" and if the template's proxy ID includes "CustomComponent". If both conditions are met, the show property of the template is set to false. This change was made to hide the code template with the CustomComponent proxy in the React Flow application.
2023-09-18 18:44:42 -03:00
Gabriel Luiz Freitas Almeida
3ae51da36e 🔧 chore(UpdateRequest.py): change field_type from "code" to "NestedDict" to improve clarity and semantics
🔧 chore(base.py): handle "dict" and "NestedDict" types in params parsing to ensure correct conversion from frontend data
🔧 chore(llms.py): change field_type from "code" to "dict" for model_kwargs field to improve semantics
🔧 chore(utilities.py): remove field_type "code" for fields with dict values to improve consistency
🔧 chore(constants.py): add "dict" and "NestedDict" to DIRECT_TYPES list to reflect available field types
🔧 chore(util.py): remove replace_dict_type_with_code function as it is no longer needed
2023-09-18 18:44:02 -03:00
anovazzi1
c61f622612 refactor(reactflowUtils.ts): import additional utility functions and update function calls to match new function names
fix(reactflowUtils.ts): update mergeNodeTemplates function to include truncated display name and extracted id in template key
feat(utils.ts): add utility functions to extract id from long id and truncate display name
2023-09-18 18:43:15 -03:00
anovazzi1
3305983cc4 refactor(reactflowUtils.ts): extract duplicated code into a helper function to improve readability and maintainability
fix(reactflowUtils.ts): fix typo in function name scapedJSONStringfy to escapedJSONStringify
fix(reactflowUtils.ts): fix typo in function name customStringify to escapedJSONStringify
feat(reactflowUtils.ts): add inputTypes property to targetHandleType to improve functionality and accuracy of handle connection check
2023-09-18 18:21:09 -03:00
Gabriel Luiz Freitas Almeida
aeecd6279f 🚀 feat(test_setup_superuser.py): add tests for setup_superuser and teardown_superuser functions
🔒 test(test_setup_superuser.py): test when AUTO_LOGIN is True, setup_superuser should not call get_session and create_super_user

🔒 test(test_setup_superuser.py): test when username and password are default, setup_superuser should call get_session, query, filter, and create_super_user with correct arguments, and reset superuser credentials

🔒 test(test_setup_superuser.py): test when superuser already exists, setup_superuser should call get_session, query, and filter with correct arguments, and not call create_super_user

🔒 test(test_teardown_superuser_default_superuser): test teardown_superuser with default superuser, should call get_session, query, filter, delete, and commit with correct arguments

🔒 test(test_teardown_superuser_no_default_superuser): test teardown_superuser without default superuser, should not call get_session, query, delete, and commit
2023-09-18 17:43:31 -03:00
Gabriel Luiz Freitas Almeida
bc53800b1c 🔧 chore(main.py): refactor imports and remove unused code in main.py for better code organization and maintainability
🔧 chore(manager.py): remove unused functions and refactor code in manager.py for better code organization and maintainability
2023-09-18 17:43:05 -03:00
Gabriel Luiz Freitas Almeida
049ffc72ef 🔧 fix(__main__.py): import correct function for initializing settings manager
🔧 fix(utils.py): fix condition for checking if user is superuser
2023-09-18 17:41:36 -03:00
Gabriel Luiz Freitas Almeida
55ef4d4fd0 🔒 chore(poetry.lock): update poetry.lock file
The poetry.lock file has been updated. This commit includes the changes made to the file.

🔒 chore(poetry.lock): update clickhouse-connect version from 0.6.11 to 0.6.12 to stay up-to-date with the latest bug fixes and improvements

🔄 chore(clickhouse_connect): update clickhouse_connect package to version 0.6.12

The clickhouse_connect package has been updated to version 0.6.12. This update includes the following changes:
- Removed the following wheel files:
  - clickhouse_connect-0.6.11-cp38-cp38-win32.whl
  - clickhouse_connect-0.6.11-cp38-cp38-win_amd64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-macosx_10_9_x86_64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-macosx_11_0_arm64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
  - clickhouse_connect-0.6.11-cp39-cp39-musllinux_1_1_aarch64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-musllinux_1_1_i686.whl
  - clickhouse_connect-0.6.11-cp39-cp39-musllinux_1_1_x86_64.whl
  - clickhouse_connect-0.6.11-cp39-cp39-win32.whl
  - clickhouse_connect-0.6.11-cp39-cp39-win_amd64.whl
  - clickhouse_connect-0.6.11-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
  - clickhouse_connect-0.6.11-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
  - clickhouse_connect

🔧 chore(clickhouse_connect): update clickhouse_connect package to version 0.6.12

ℹ️ The clickhouse_connect package has been updated to version 0.6.12. This update includes various bug fixes and improvements.

🚀 feat(package.dependencies): add clickhouse_connect package with multiple wheel files and their hashes

ℹ️ The clickhouse_connect package has been added as a dependency to the project. This commit includes the addition of multiple wheel files along with their corresponding hashes. These wheel files provide support for different platforms and Python versions.

🔒 chore(poetry.lock): update cohere, fsspec, langfuse, langsmith, and nest-asyncio packages

- cohere package:
  - Update version from 4.24 to 4.26.1
  - Update wheel and tar.gz files hashes

- fsspec package:
  - Update version from 2023.9.0 to 2023.9.1
  - Update wheel and tar.gz files hashes

- langfuse package:
  - Update version from 1.0.21 to 1.0.24
  - Update wheel and tar.gz files hashes

- langsmith package:
  - Update version from 0.0.37 to 0.0.38
  - Update wheel and tar.gz files hashes

- nest-asyncio package:
  - Update version from 1.5.7 to 1.5.8
  - Update wheel and tar.gz files hashes

🔒 chore(poetry.lock): update numpy version to 1.26.0 and restrict python versions to be below 3.13 and above 3.9 to ensure compatibility

🔧 chore: update numpy package to version 1.26.0

ℹ️ The following files have been updated:
- numpy-1.26.0-cp312-cp312-macosx_11_0_arm64.whl
- numpy-1.26.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- numpy-1.26.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- numpy-1.26.0-cp312-cp312-musllinux_1_1_x86_64.whl
- numpy-1.26.0-cp312-cp312-win32.whl
- numpy-1.26.0-cp312-cp312-win_amd64.whl
- numpy-1.26.0-cp39-cp39-macosx_10_9_x86_64.whl
- numpy-1.26.0-cp39-cp39-macosx_11_0_arm64.whl
- numpy-1.26.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- numpy-1.26.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- numpy-1.26.0-cp39-cp39-musllinux_1_1_x86_64.whl
- numpy-1.26.0-cp39-cp39-win32.whl
- numpy-1.26.0-cp39-cp39-win_amd64.whl
- numpy-1.26.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
- numpy-1.26.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- numpy-1.26.0-pp39-pypy39_pp73-win_amd64.whl
- numpy-1.26.0.tar.gz

🚀 This update includes bug fixes and improvements.

🔒 chore(poetry.lock): update poetry.lock file

The poetry.lock file has been updated. This commit includes changes to the file to reflect the updated dependencies and their versions.

🔒 chore(poetry.lock): update pillow version from 10.0.0 to 10.0.1 to fix a bug or security vulnerability

🚀 feat(pillow): update Pillow package to version 10.0.1

The Pillow package has been updated to version 10.0.1. This update includes several bug fixes and improvements. The new version provides support for macOS 11.0 arm64 architecture, manylinux 2.17 aarch64 and x86_64 architectures, manylinux 2.28 aarch64 and x86_64 architectures, musllinux 1.1 aarch64 and x86_64 architectures, and Windows AMD64 architecture.

The updated package files and their corresponding hashes are as follows:
- Pillow-10.0.1-cp310-cp310-macosx_10_10_x86_64.whl (sha256:8f06be50669087250f319b706decf69ca71fdecd829091a37cc89398ca4dc17a)
- Pillow-10.0.1-cp310-cp310-macosx_11_0_arm64.whl (sha256:50bd5f1ebafe9362ad622072a1d2f5850ecfa44303531ff14353a4059113b12d)
- Pillow-10.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (sha256:e6a90167bcca1216606223a05e2cf991bb25b14695c518bc65639463d7db722d)
- Pillow-10.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (sha256:f11c9102c56ffb9ca87134bd025a43d2aba3f1155f508eff88f694b33a9c6d19)
- Pillow-10.0.1-cp310-cp310-manylinux_2_28_aarch64.whl (sha256:186f7e04248103482ea6354af6d5bcedb62941ee08f7f788a1c7707bc720c66f)
- Pillow-10.0.1-cp310-cp310-manylinux_2_28_x86_64.whl (sha256:0462b149650

🚀 feat(package): add Pillow 10.0.1 wheel files with corresponding hashes for various platforms

ℹ️ The commit adds the following Pillow 10.0.1 wheel files with their respective hashes:
- Pillow-10.0.1-cp312-cp312-win_amd64.whl
- Pillow-10.0.1-cp38-cp38-macosx_10_10_x86_64.whl
- Pillow-10.0.1-cp38-cp38-macosx_11_0_arm64.whl
- Pillow-10.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Pillow-10.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Pillow-10.0.1-cp38-cp38-manylinux_2_28_aarch64.whl
- Pillow-10.0.1-cp38-cp38-manylinux_2_28_x86_64.whl
- Pillow-10.0.1-cp38-cp38-musllinux_1_1_aarch64.whl
- Pillow-10.0.1-cp38-cp38-musllinux_1_1_x86_64.whl
- Pillow-10.0.1-cp38-cp38-win_amd64.whl
- Pillow-10.0.1-cp39-cp39-macosx_10_10_x86_64.whl
- Pillow-10.0.1-cp39-cp39-macosx_11_0_arm64.whl
- Pillow-10.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Pillow-10.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Pillow-10.0.1-cp39-cp39-manylinux_2_28_aarch64.whl
- Pillow-10.0.1-cp39-cp39-manylinux_2_28_x86_64.whl
- Pillow

🔒 chore(poetry.lock): update pinecone-client version to 2.2.4 for bug fixes and improvements
🔒 chore(poetry.lock): update portalocker version to 2.8.2 for bug fixes and enhancements
🔒 chore(poetry.lock): update pypdf version to 3.16.1 for bug fixes and improvements
🔒 chore(poetry.lock): update rich version to 13.5.3 for bug fixes and enhancements
🔒 chore(poetry.lock): update smmap version to 5.0.1 for bug fixes and improvements
🔒 chore(poetry.lock): update textual version to 0.37.1 for bug fixes and enhancements
🔒 chore(poetry.lock): update traitlets version to 5.10.0 for bug fixes and improvements

🔒 chore(poetry.lock): update types-pytz version to 2023.3.1.0 for typing stubs for pytz
🔒 chore(poetry.lock): update typing-extensions version to 4.8.0 for backported and experimental type hints for Python 3.8+
🔒 chore(poetry.lock): update unstructured version to 0.10.15 for library that prepares raw documents for downstream ML tasks
🔒 chore(poetry.lock): update zipp version to 3.17.0 for backport of pathlib-compatible object wrapper for zip files
2023-09-18 15:53:23 -03:00
Gabriel Luiz Freitas Almeida
828492eaf2 🔧 chore(main.py): import setup_superuser function to be able to set up a superuser for the application 2023-09-18 15:52:15 -03:00
Gabriel Luiz Freitas Almeida
976b01875a 🔥 refactor(test_llms_template.py): remove unused imports and commented out code
🔒 test(test_llms_template.py): remove test_llms_settings test as it is no longer needed
2023-09-18 15:51:40 -03:00
Gabriel Luiz Freitas Almeida
94020b3126 📝 chore(manager.py): update variable names for superuser in database manager and utils module for better clarity and consistency
The variable names `FIRST_SUPERUSER` and `FIRST_SUPERUSER_PASSWORD` have been changed to `SUPERUSER` and `SUPERUSER_PASSWORD` respectively in the `manager.py` and `utils.py` files. This change improves clarity and consistency in the codebase.
2023-09-18 15:45:40 -03:00
Gabriel Luiz Freitas Almeida
f22c66d824 📝 chore(.env.example): add placeholders for LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD to improve documentation and configuration 2023-09-18 15:45:27 -03:00
Gabriel Luiz Freitas Almeida
c390a6ca1d 🔧 chore(utils.py): refactor get_settings_manager, get_db_manager, get_session, and get_chat_manager functions to use service_manager for better code organization and maintainability
 feat(utils.py): add setup_superuser function to create a superuser if it does not exist and reset superuser credentials after creation
2023-09-18 15:43:18 -03:00
Gabriel Luiz Freitas Almeida
0c3d59a804 🐛 fix(__main__.py): import correct function for get_db_manager and get_settings_manager in langflow/__main__.py
🐛 fix(api_key.py): import correct function for get_session in langflow/api/v1/api_key.py
🐛 fix(chat.py): import correct function for get_chat_manager and get_session in langflow/api/v1/chat.py
🐛 fix(components.py): import correct function for get_session in langflow/api/v1/components.py
🐛 fix(endpoints.py): import correct function for get_session and get_settings_manager in langflow/api/v1/endpoints.py
🐛 fix(flows.py): import correct function for get_session and get_settings_manager in langflow/api/v1/flows.py
🐛 fix(login.py): import correct function for get_session and get_settings_manager in langflow/api/v1/login.py
🐛 fix(users.py): import correct function for get_session in langflow/api/v1/users.py
🐛 fix(base.py): import correct function for get_settings_manager in langflow/interface/agents/base.py
🐛 fix(base.py): import correct function for get_settings_manager in langflow/interface/base.py
🐛 fix(base.py): import correct function for get_settings_manager in langflow/interface/chains/base.py
🐛 fix(custom_component.py): import correct function for get_db_manager in langflow/interface/custom/custom_component.py
🐛 fix(base.py): import correct function for get_settings_manager in langflow/interface/document_loaders/base.py
🐛 fix(base.py): import correct function for get_settings_manager in langflow/interface/embeddings/base.py
🐛 fix(base.py): import correct function for get_settings_manager in langflow/interface/llms/base.py
🐛 fix(base.py): import correct function for get_settings_manager in langflow/interface/memories/base.py
🐛 fix(base.py): import correct function for get_settings_manager in langflow/interface/output_parsers/base.py
🐛 fix(base.py): import correct function for get_settings_manager in langflow/interface/prompts/base.py
🐛 fix(base.py): import correct function for get_settings_manager in langflow/interface/retrievers/base.py

🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect new module location
🐛 fix(base.py): update import statement for get_settings_manager function to reflect

🔧 fix(test_user.py): update import statement for get_settings_manager to reflect new module structure
🔧 fix(test_user.py): update variable names for superuser and superuser password to match new naming convention
🔧 fix(test_user.py): update variable names for superuser and superuser password to match new naming convention
🔧 fix(test_vectorstore_template.py): update import statement for get_settings_manager to reflect new module structure
2023-09-18 15:42:39 -03:00
igorrCarvalho
a08cfbe351 refactor: solve edges not following animation 2023-09-18 15:37:05 -03:00
igorrCarvalho
f612f47455 Refactor: Change expand icon when node are minimized 2023-09-18 15:12:31 -03:00
Cristhian Zanforlin Lousa
21096562b2
Bugfix on DEV - Copy and Paste on CodeEditModal (#929)
🔧 chore(codeAreaModal/index.tsx): add additional class names to
CodeMirror component for better control and customization
2023-09-18 14:40:19 -03:00
Gabriel Luiz Freitas Almeida
b6049aeb9e
Release 0.4.20 (#931) 2023-09-18 14:35:21 -03:00
Gabriel Luiz Freitas Almeida
0d9e866560
Merge branch 'main' into release 2023-09-18 14:31:30 -03:00
Gabriel Luiz Freitas Almeida
7d33cd7539 🔖 chore(pyproject.toml): bump version from 0.4.19 to 0.4.20 to reflect the latest changes and improvements in the package 2023-09-18 14:28:25 -03:00
Cristhian Zanforlin Lousa
14c9f863dc 🔧 fix(dialog.tsx): remove unnecessary CSS classes 'noundo' and 'nocopy' to simplify the code and improve maintainability
🔧 fix(codeAreaModal/index.tsx): remove unnecessary CSS classes 'nopan', 'nodrag', 'noundo', and 'nocopy' to simplify the code and improve maintainability
2023-09-18 14:26:27 -03:00
igorrCarvalho
d44365578d feat: add node minimizing animation (refactoring it later) 2023-09-18 14:25:13 -03:00
Gabriel Luiz Freitas Almeida
ac1b6b6d1c
🐛 fix(process.py): handle unknown langchain_object types by returning the object as is instead of raising an exception (#930) 2023-09-18 14:23:26 -03:00
Cristhian Zanforlin Lousa
6521152184 🐛 fix(dialog.tsx): remove unnecessary CSS classes 'noundo' and 'nocopy' from DialogOverlay component to improve code readability and maintainability
🐛 fix(index.tsx): remove unnecessary CSS classes 'nopan', 'nodrag', 'noundo', and 'nocopy' from CodeMirror component to improve code readability and maintainability
2023-09-18 14:23:20 -03:00
Gabriel Luiz Freitas Almeida
eeab7bda05 🐛 fix(process.py): handle unknown langchain_object types by returning the object as is instead of raising an exception 2023-09-18 14:22:45 -03:00
Cristhian Zanforlin Lousa
d39685e9f5 🔧 chore(codeAreaModal): add additional class names to CodeArea component for better control and customization
🎨 style(codeAreaModal): add class names 'nopan', 'nodrag', 'noundo', and 'nocopy' to CodeArea component to disable specific behaviors
2023-09-18 13:51:42 -03:00
Cristhian Zanforlin Lousa
3e2f3046a9 🔧 chore(codeAreaModal/index.tsx): add additional class names to CodeMirror component for better control and customization 2023-09-18 13:51:01 -03:00
Cristhian Zanforlin Lousa
bdd79fc6f6 📝 chore(constants.ts): update CODE_DICT_DIALOG_SUBTITLE to improve clarity and remove unnecessary information 2023-09-18 11:36:14 -03:00
Cristhian Zanforlin Lousa
4b61a582ba 🔧 fix(constants.ts): fix indentation issue in CODE_DICT_DIALOG_SUBTITLE constant
🔧 fix(constants.ts): update CODE_DICT_DIALOG_SUBTITLE constant to include information about using eval() function
🔧 fix(reactflowUtils.ts): add check to convertObjToArray function to return the input if it is already an array
2023-09-18 11:25:18 -03:00
Gabriel Luiz Freitas Almeida
7d39cdc7aa
fix issue, the custom component cannot be load success by setting env… (#823) 2023-09-18 11:01:57 -03:00
Gabriel Luiz Freitas Almeida
15a96b63d9
Bug fix on error detail of customComponent code - Release (#927) 2023-09-18 10:42:08 -03:00
Gabriel Luiz Freitas Almeida
6500d793d1 🐛 fix(types.py): fix indentation and remove duplicate docstring to improve code readability
🔥 chore(types.py): remove unused variable 'e' and improve exception handling by adding 'from exc' to preserve original traceback
2023-09-18 10:39:29 -03:00
Gabriel Luiz Freitas Almeida
b5cb175c58
Enabling prompt modal close without variables (#915) 2023-09-18 10:31:34 -03:00
Gabriel Luiz Freitas Almeida
8e166cebf3 🔧 fix(types): fix indentation in TooltipComponentType to improve code readability
🔧 fix(utils): fix indentation in validateNode function to improve code readability
2023-09-18 09:59:34 -03:00
Gabriel Luiz Freitas Almeida
cc6cf4df35 🐛 fix(validate.py): set prompt_request.name to the key of the only custom field if it is an empty string and there is only one custom field to handle the first prompt request after node creation 2023-09-18 09:34:30 -03:00
Cristhian Zanforlin Lousa
887d1d8f79 🐛 fix(types.py): handle exceptions and raise HTTPException with detailed error message and traceback
🐛 fix(index.tsx): fix error detail access in className condition
🐛 fix(classes.css): adjust scrollbar styles for Ace editor
2023-09-18 09:28:24 -03:00
Gabriel Luiz Freitas Almeida
61f79a2228
Release 0.4.18 (#925) 2023-09-17 20:40:39 -03:00
Gabriel Luiz Freitas Almeida
173561d803
Merge branch 'main' into release 2023-09-17 20:29:41 -03:00
Gabriel Luiz Freitas Almeida
ca7bd74013
🔖 chore(pyproject.toml): bump version from 0.4.18 to 0.4.19 to indicate a new release (#924) 2023-09-17 20:24:19 -03:00
Gabriel Luiz Freitas Almeida
0cf4f53771 🔖 chore(pyproject.toml): bump version from 0.4.18 to 0.4.19 to indicate a new release 2023-09-17 20:20:55 -03:00
Gabriel Luiz Freitas Almeida
b87502b45a
🔧 chore(process.py): change ValueError exception to a warning log message when encountering an unknown langchain_object type (#923) 2023-09-17 20:19:00 -03:00
Gabriel Luiz Freitas Almeida
4cefc59aba 🔀 merge(process.py): merge changes from langflow.utils.logger module to process.py module
🔀 merge(process.py): merge changes from langflow.utils.logger module to process.py module to improve code organization and import statements
2023-09-17 20:15:37 -03:00
Gabriel Luiz Freitas Almeida
d65a75c8d8 🔧 chore(process.py): replace logger import from langflow.utils.logger to loguru.logger for better logging functionality
🔧 chore(process.py): change ValueError exception to a warning log message when encountering an unknown langchain_object type
2023-09-17 20:14:25 -03:00
Gabriel Luiz Freitas Almeida
298d9cd1c8 🔧 chore(docker-compose.yml): update pytest command to improve verbosity and parallel test execution 2023-09-17 19:36:15 -03:00
Gabriel Luiz Freitas Almeida
c7fc8444ea 🐛 fix(endpoints.py): handle ImportError when importing langflow.worker.process_graph_cached_task to prevent crash when Celery is not installed
🔥 chore(endpoints.py): remove unused import of langflow.worker.process_graph_cached_task
🔀 chore(endpoints.py): refactor process_flow function to handle different result types from task_service.launch_task
2023-09-17 19:35:59 -03:00
Gabriel Luiz Freitas Almeida
9c6cfc07ab 🐛 fix(process.py): set langchain_object.return_intermediate_steps to False to improve performance and reduce memory usage 2023-09-17 19:35:40 -03:00
Gabriel Luiz Freitas Almeida
d5623cb713 🐛 fix(manager.py): fix typo in comment, change "ached" to "cached" for better readability
 feat(manager.py): add error handling for non-picklable values in RedisCache's set method to prevent errors
2023-09-17 19:35:25 -03:00
Gabriel Luiz Freitas Almeida
8a545d4dcc 🐛 fix(frontend): update format script in package.json to only format files in the root directory 2023-09-17 19:35:10 -03:00
Gabriel Luiz Freitas Almeida
6871cc5ab6 adds vector store tests 2023-09-17 19:34:46 -03:00
Gabriel Luiz Freitas Almeida
946719eb72 ⬆️ chore(pyproject.toml): update pandas dependency to version 2.0.3 for compatibility and bug fixes 2023-09-17 19:28:33 -03:00