Commit graph

5,500 commits

Author SHA1 Message Date
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
Cristhian Zanforlin Lousa
46601245e1 🐛 fix(EditNodeModal/index.tsx): import convertObjToArray function from reactflowUtils to fix undefined reference error
🐛 fix(EditNodeModal/index.tsx): fix incorrect usage of convertObjToArray function to correctly convert object to array
2023-09-17 11:09:15 -03:00
Cristhian Zanforlin Lousa
0838baa50a merge dev 2023-09-17 10:32:45 -03:00
Cristhian Zanforlin Lousa
ddda46f6d6 🐛 fix(parameterComponent): convert object to array in data.node!.template[name].value to fix rendering issue 2023-09-17 10:31:42 -03:00
Gabriel Luiz Freitas Almeida
254d9e946d 🐛 fix(ci.yml): remove unnecessary -d flag from docker compose up command to prevent services from running in detached mode 2023-09-16 11:21:27 -03:00
Gabriel Luiz Freitas Almeida
ce3127d6f7 📦 chore(ci.yml): rename CI/CD Pipeline workflow to "Async API tests" for better clarity and specificity 2023-09-16 11:17:59 -03:00
Gabriel Luiz Freitas Almeida
7ef80c8e78 🔀 chore(ci.yml): update branch configuration for CI/CD pipeline to include 'dev' branch 2023-09-16 11:16:35 -03:00
Gabriel Luiz Freitas Almeida
c367328727 📦 chore(base.Dockerfile): add tests directory to Docker image to include tests in the build process 2023-09-16 11:15:23 -03:00
Gabriel Luiz Freitas Almeida
43fc6add04 🐛 fix(conftest.py): fix typo in file name BasicChatWithPromptAndHistory.json to improve consistency and readability 2023-09-16 11:15:07 -03:00
Gabriel Luiz Freitas Almeida
05a6f4d067 🔧 fix(process.py): remove unused import and add missing import for BaseModel from pydantic
🔧 fix(manager.py): change return type annotation of launch_task method to handle both Coroutine and Any types
🔧 fix(worker.py): add missing import for Result class from process module and update return statement to return Result object as dictionary
2023-09-16 11:13:53 -03:00
Gabriel Luiz Freitas Almeida
b8d8eccbff 🐛 fix(anyio.py): add error handling when launching a task to prevent crashes and log the error
🐛 fix(celery.py): add type hinting to the launch_task method and return the AsyncResult object for better task tracking
2023-09-16 11:13:08 -03:00
Gabriel Luiz Freitas Almeida
abc4e8a3e0 🔧 chore(ci.yml): remove unnecessary comments and reorganize steps for clarity and readability 2023-09-16 00:11:00 -03:00
Gabriel Luiz Freitas Almeida
cc8cd8bef0 🔧 chore(ci.yml): update Docker commands to use 'docker compose' instead of 'docker-compose' for consistency and future compatibility 2023-09-16 00:09:32 -03:00