Commit graph

  • e40628a069 refactor: Remove any types Igor Carvalho 2023-07-24 16:15:29 -03:00
  • ddfb534a03 Fixed message not appearing when code is displayed Lucas Oliveira 2023-07-24 15:51:28 -03:00
  • 078626052f formatting Cristhian Zanforlin Lousa 2023-07-24 15:30:00 -03:00
  • 891abae528 🐛 fix(parameterComponent): fix linting issues and add missing import ✨ feat(parameterComponent): add support for custom components in groupByFamily function ✨ feat(utils): add groupByFamilyCustom function to handle custom components in groupByFamily function Cristhian Zanforlin Lousa 2023-07-24 15:10:55 -03:00
  • 53a20ecccf refactor[modals]: Remove any types Igor Carvalho 2023-07-24 14:10:38 -03:00
  • 4fc636cb9b refactor[EditNodeModal]: Remove any types Igor Carvalho 2023-07-24 13:20:29 -03:00
  • edf570f314 Added indicator of chat thinking when message is empty. Lucas Oliveira 2023-07-24 11:32:36 -03:00
  • ada32b6a48 Refactored state management from tweaks Lucas Oliveira 2023-07-24 10:58:48 -03:00
  • 1910a03d71 ⬆️ chore(pyproject.toml): update gunicorn and langchain dependencies Gabriel Luiz Freitas Almeida 2023-07-24 10:27:48 -03:00
  • 530d416735 🔧 fix(parameterComponent): import 'flow' function from lodash to fix missing reference error 🔧 fix(parameterComponent): add 'flows' to the list of destructured variables from TabsContext to fix missing reference error 🔧 fix(parameterComponent): remove unused console.log statements to clean up code Cristhian Zanforlin Lousa 2023-07-24 10:09:53 -03:00
  • 169a20ab97 Fixed all bugs with tweaks on API modal Lucas Oliveira 2023-07-24 09:55:42 -03:00
  • b6ee0ff800 Merge branch 'modalRefactor' into python_custom_node_component Lucas Oliveira 2023-07-23 19:50:51 -03:00
  • 66cec7d545 Formatting on merge Lucas Oliveira 2023-07-23 19:49:13 -03:00
  • 7239223481 Merge branch 'dev' into modalRefactor Lucas Oliveira 2023-07-23 19:48:41 -03:00
  • 73516f387e Merge remote-tracking branch 'origin/main' into optional_deps Gabriel Luiz Freitas Almeida 2023-07-23 13:16:33 -03:00
  • 5309a2fd6a change name of group dev Gabriel Luiz Freitas Almeida 2023-07-23 13:16:16 -03:00
  • 97045a3bc0 Merge branch 'modalRefactor' into input-refactor Cristhian Zanforlin Lousa 2023-07-22 09:43:49 -03:00
  • c21cf4bb56 🐛 fix(inputListComponent): import useContext from react to fix missing import error 🐛 fix(inputListComponent): import set from lodash to fix missing import error ✨ feat(inputListComponent): add PopUpContext import to use closeEdit function 🐛 fix(inputListComponent): add useEffect to update inputList state when value prop changes 🐛 fix(EditNodeModal): import getRandomKeyByssmm from utils to fix missing import error ✨ feat(EditNodeModal): add PopUpContext import to use setCloseEdit function 🐛 fix(EditNodeModal): add useEffect to reset myData state when modalOpen prop changes Cristhian Zanforlin Lousa 2023-07-22 09:43:17 -03:00
  • c218dc1d02 Merge branch 'modalRefactor' into input-refactor Cristhian Zanforlin Lousa 2023-07-22 09:05:38 -03:00
  • 7d91c14481 🐛 fix(inputListComponent): remove redundant useEffect that sets inputList value from props 🐛 fix(inputListComponent): fix cloning of inputList array in onChange event handler to prevent mutation of state Cristhian Zanforlin Lousa 2023-07-22 09:05:04 -03:00
  • 1b6f95211c 🐛 fix(Makefile): update uvicorn command to use --factory flag and create_app function to improve modularity and maintainability Gabriel Luiz Freitas Almeida 2023-07-22 08:56:12 -03:00
  • 564b113c3a 🔧 chore(main.py): configure logger in create_app function to improve logging configuration 🔧 chore(logger.py): change default log level to DEBUG in configure function for more detailed logging Gabriel Luiz Freitas Almeida 2023-07-21 23:58:28 -03:00
  • 80db6b910e 🔧 fix(__main__.py): import get_number_of_workers function from langflow.utils.util module to fix NameError 🔧 fix(__main__.py): change default value of workers option to -1 to indicate automatic calculation of number of workers 🔧 fix(__main__.py): remove unused import of cpu_count from multiprocess module 🔧 fix(__main__.py): remove unused import of time module 🔧 fix(__main__.py): remove unused import of httpx module 🔧 fix(__main__.py): remove unused import of sys module 🔧 fix(__main__.py): remove unused import of os module 🔧 fix(__main__.py): remove unused import of Path class from pathlib module 🔧 fix(__main__.py): remove unused import of load_dotenv function from dotenv module 🔧 fix(__main__.py): remove unused import of typer module 🔧 fix(__main__.py): remove unused import of app object from typer module 🔧 fix(__main__.py): remove unused import of Optional type from typing module 🔧 fix(__main__.py): remove unused import of Process class from multiprocess module 🔧 fix(__main__.py): remove unused import of platform module 🔧 fix(__main__.py): remove unused import of update_settings function 🔧 fix(__main__.py): remove unused import of run_langflow function 🔧 fix(util.py): import logger from langflow.utils.logger module to fix NameError 🔧 fix(util.py): import cpu_count from multiprocess module to fix NameError 🔧 fix(util.py): add default value of None to workers parameter in get_number_of_workers function to fix TypeError Gabriel Luiz Freitas Almeida 2023-07-21 23:57:52 -03:00
  • cf688adf53 🚀 feat(custom_component.py): add method list_flow_names() to retrieve a list of flow names from the database Gabriel Luiz Freitas Almeida 2023-07-21 23:15:53 -03:00
  • 67e12c425f 🔀 chore(constants.py): add "str" as a base type in LANGCHAIN_BASE_TYPES to support string values in custom interfaces Gabriel Luiz Freitas Almeida 2023-07-21 23:15:26 -03:00
  • 6f300ddf94 🐛 fix(custom_component.py): add missing build_config method to CustomComponent class 🐛 fix(types.py): update build_langchain_template_custom_component function to use build_config method of CustomComponent class Gabriel Luiz Freitas Almeida 2023-07-21 19:09:20 -03:00
  • e84aca717b 🔀 chore(endpoints.py): move merge_nested_dicts function to correct local scope 🐛 fix(endpoints.py): fix get_all endpoint to correctly merge native_components and custom_components_from_file dictionaries gustavoschaedler 2023-07-21 22:32:54 +01:00
  • b216d8754b
    Hotfix: 0.3.3 (#670) Gustavo Schaedler 2023-07-21 22:05:18 +01:00
  • 79269e1395
    Merge branch 'main' into release Gabriel Luiz Freitas Almeida 2023-07-21 18:00:45 -03:00
  • 987783eda1 🔖 chore(pyproject.toml): update package version to 0.3.3 🔧 chore(pyproject.toml): update maintainers list with new team members Carlos Coelho, Igor Carvalho, and Rodrigo Nader Gabriel Luiz Freitas Almeida 2023-07-21 17:57:27 -03:00
  • 054c6d8900 🔧 chore(constants.py): add 'google_cse_id' to FORCE_SHOW_FIELDS list to include it in the forced display fields Gabriel Luiz Freitas Almeida 2023-07-21 17:47:48 -03:00
  • 6113aae86f Refactor[NodeModal]: Remove unnused code (NodeModal) Igor Carvalho 2023-07-21 17:08:15 -03:00
  • 548383b09e 🐛 fix(endpoints.py): add missing import statement for 'settings' module ✨ feat(endpoints.py): add support for loading custom components from a specified path 🐛 fix(endpoints.py): fix typo in variable name 'custom_components_from_file' 🐛 fix(endpoints.py): fix typo in variable name 'filtered' 🐛 fix(base.py): fix indentation of raise statement to improve code readability 🐛 fix(component.py): fix indentation of if statements to improve code readability 🐛 fix(load_custom_component_from_path.py): fix indentation of base_path comment to improve code readability 🐛 fix(load_custom_component_from_path.py): fix indentation of base_path assignment to improve code readability 🐛 fix(load_custom_component_from_path.py): fix indentation of validate_code method to improve code readability 🐛 fix(load_custom_component_from_path.py): fix indentation of build_component_menu_list method to improve code readability 🐛 fix(types.py): fix indentation of extract_type_from_optional function to improve code readability ✨ feat(types.py): add support for building custom component templates ✨ feat(types.py): add support for building custom component templates with extra fields ✨ feat(types.py): add support for building custom component templates with function arguments ✨ feat(types.py): add support for building custom component templates with base classes ✨ feat(types.py): add support for building custom component templates with return type ✨ feat(types.py): add support for building custom component templates with exception handling ✨ feat(types.py): add support for building custom component templates from a specified path 🐛 fix(settings.py): fix indentation of set_env_variables method to improve code readability ✨ feat(settings.py): add support for specifying component path in settings gustavoschaedler 2023-07-21 19:13:52 +01:00
  • 247755c118 🐛 fix(nodeToolbarComponent): wrap EditNodeModal component in a div to fix layout issue Cristhian Zanforlin Lousa 2023-07-21 11:56:34 -03:00
  • 19b874b591 🔧 chore(genericModal/index.tsx): refactor useEffect hook to set input value when 'value' prop changes Cristhian Zanforlin Lousa 2023-07-21 11:34:23 -03:00
  • dff5c87c72 🐛 fix(components): remove unnecessary empty line in ToggleComponent 🐛 fix(modals): fix typo in comment in CodeAreaModal 🐛 fix(pages): remove unnecessary empty line in MainPage 🐛 fix(utils): remove unnecessary semicolons in utils.ts Gabriel Luiz Freitas Almeida 2023-07-21 11:17:13 -03:00
  • a21345ff44 Merge branch 'main' into dev Gabriel Luiz Freitas Almeida 2023-07-21 11:16:27 -03:00
  • f67c0ff509 🐛 fix(EditFlowSettingsComponent): update flows array type to include description property to fix type error 🔧 chore(EditFlowSettingsComponent): refactor handleDescriptionChange to update description in flows array and setDesc state variable 🔧 chore(EditFlowSettingsComponent): update value prop of description textarea to use desc state variable instead of description prop Cristhian Zanforlin Lousa 2023-07-21 11:09:35 -03:00
  • ff97f45a72 🔧 fix(codeTabsComponent): remove commented out console.log statement 🔧 fix(codeTabsComponent): add keyValue prop to AccordionComponent to fix missing key warning Cristhian Zanforlin Lousa 2023-07-21 10:35:53 -03:00
  • df14fd0d58 🔨 refactor(inputListComponent): extract classNames function to improve code readability and reusability 🐛 fix(inputListComponent): add conditional styling to the parent div based on the length of inputList and the presence of editNode to fix layout issues Cristhian Zanforlin Lousa 2023-07-21 10:27:50 -03:00
  • 33f8b63431 🐛 fix(loading.py): refactor instantiate_custom_component function to improve readability and maintainability Gabriel Luiz Freitas Almeida 2023-07-21 09:27:30 -03:00
  • e835d4a0e9 🐛 fix(types.py): change base_type from "tools" to "custom_components" for CustomComponentVertex to improve categorization 🔧 refactor(types.py): modify _built_object_repr method in CustomComponentVertex to handle custom representation if available in artifacts Gabriel Luiz Freitas Almeida 2023-07-21 09:27:04 -03:00
  • 4307c24c6d 🐛 fix(custom_component.py): fix session handling in load_flow method to ensure proper context management and avoid potential resource leaks ✨ feat(custom_component.py): add custom_repr method to CustomComponent class to provide a custom representation value for the component Gabriel Luiz Freitas Almeida 2023-07-21 09:25:55 -03:00
  • b64d43fe22 🔀 chore(constants.py): update import statement for custom component creator in vertex type map 🔀 chore(constants.py): update vertex type map to include custom component vertices using custom_component_creator Gabriel Luiz Freitas Almeida 2023-07-21 09:25:33 -03:00
  • a722fe063b 🔧 chore(base.py): import contextlib's contextmanager to improve code readability and maintainability ✨ feat(base.py): add session_getter context manager to handle session creation, rollback, and closure in a more robust way 🔧 chore(base.py): update get_session function to use session_getter context manager for session creation Gabriel Luiz Freitas Almeida 2023-07-21 09:24:59 -03:00
  • 9811b97908 🐛 fix(base.py): fix validation logic in _validate_nodes method to handle case when there is only one node in the graph Gabriel Luiz Freitas Almeida 2023-07-21 08:56:34 -03:00
  • a0748e1093 🐛 fix(base.py): fix validation logic in _validate_nodes method to handle case when there is only one node in the graph Gabriel Luiz Freitas Almeida 2023-07-21 08:55:31 -03:00
  • 7b22e0780f 🐛 fix(endpoints.py): handle CustomComponentPathValueError and raise HTTPException with error details 🐛 fix(chat/manager.py): rename exception variable from e to exc for clarity 🐛 fix(load_custom_component_from_path.py): handle case when file_path does not exist and return None 🐛 fix(load_custom_component_from_path.py): raise CustomComponentPathValueError if directory path is invalid 🐛 fix(load_custom_component_from_path.py): handle case when file_content is None and return error message gustavoschaedler 2023-07-20 23:35:02 +01:00
  • 207ed3b0f0 formatting Cristhian Zanforlin Lousa 2023-07-20 18:58:29 -03:00
  • 25235a0d11 🔧 chore(textarea.tsx): refactor textarea component class names for improved readability and maintainability 🔧 chore(index.css): refactor input-primary class to remove unnecessary styles and improve readability 🔧 chore(index.css): add new textarea-primary class for textarea component with similar styles as input-primary but without truncation 🔧 chore(chatInput/index.tsx): replace textarea element with Textarea component for consistency and reusability Cristhian Zanforlin Lousa 2023-07-20 18:40:24 -03:00
  • 76a0a40656 refactor[modals]: Add types to functions that didnt have it Igor Carvalho 2023-07-20 18:24:04 -03:00
  • 7ff40f40a4 🔧 chore(index.css): adjust width of dropdown component options to improve layout consistency Cristhian Zanforlin Lousa 2023-07-20 18:10:13 -03:00
  • 3e99fa431b 🔧 fix(floatComponent): replace input element with custom Input component for consistency and reusability 🔧 fix(inputComponent): replace input element with custom Input component for consistency and reusability 🔧 fix(inputListComponent): replace input element with custom Input component for consistency and reusability 🔧 fix(intComponent): replace input element with custom Input component for consistency and reusability 🔧 fix(textAreaComponent): replace input element with custom Input component for consistency and reusability 🔧 fix(ui/input): update Input component styles to match the design requirements 🔧 fix(index.css): update styles for Input component to match the design requirements 🔧 fix(extraSidebarComponent): replace input element with custom Input component for consistency and reusability Cristhian Zanforlin Lousa 2023-07-20 18:09:46 -03:00
  • 3a055b7411 refactor[alerts]: Add types to functions that didnt have it Igor Carvalho 2023-07-20 18:01:06 -03:00
  • b5c6b06b3c refactor[components]: Add types to functions that didnt have it Igor Carvalho 2023-07-20 17:58:48 -03:00
  • c6157cf12a 🎨 style(index.css): update width of dropdown component options to be responsive on larger screens Cristhian Zanforlin Lousa 2023-07-20 17:40:10 -03:00
  • 5f8439ae7e 🔧 chore(.gitignore): add /tmp/* to the gitignore file to exclude temporary files from version control ✨ feat(endpoints.py): add new endpoint to load custom components from a specified path 📦 feat(load_custom_component_from_path.py): add new module to load custom components from a directory path 🔧 chore(types.py): add function to build and validate custom components from a directory path gustavoschaedler 2023-07-20 21:39:07 +01:00
  • 01a473d73b Merge branch 'dev' into modalRefactor Lucas Oliveira 2023-07-20 17:24:35 -03:00
  • 6242d80635 Merge branch 'modalRefactor' into python_custom_node_component Lucas Oliveira 2023-07-20 17:22:25 -03:00
  • ab185f57bd Fixed copy paste on all components Lucas Oliveira 2023-07-20 17:17:48 -03:00
  • 84b2fb8aae refactor[CustomNodes]: Add types to functions that didnt have it Igor Carvalho 2023-07-20 17:12:50 -03:00
  • b2a7fe174c Disable copy paste removed in favor of class wrapping Lucas Oliveira 2023-07-20 17:07:54 -03:00
  • 4c834ab239 Fixed undoing nodes on modal Lucas Oliveira 2023-07-20 17:01:34 -03:00
  • a63dcfa109 Fixed undo of nodes when on input Lucas Oliveira 2023-07-20 17:00:37 -03:00
  • fff6e494db refactor[src/pages]: Add types to pages functions that didnt have it Igor Carvalho 2023-07-20 16:50:32 -03:00
  • 7b1b028364 Fixed node dragging and selecting text on input Lucas Oliveira 2023-07-20 16:49:41 -03:00
  • 30968e089f 🐛 fix(callback.py): improve error logging by including the specific error message 🐛 fix(chat.py): improve error logging by including the specific error message 🐛 fix(manager.py): improve error logging by including the specific error message 🐛 fix(base.py): improve error logging by including the specific error message 🐛 fix(processing/base.py): improve error logging by including the specific error message Gabriel Luiz Freitas Almeida 2023-07-20 16:34:25 -03:00
  • 54f1f5c504 refactor[utils.ts]: Add type to functions that didnt have it Igor Carvalho 2023-07-20 16:02:09 -03:00
  • 7193bb4488 🐛 fix(custom_component.py): fix session context and add error handling for flow not found Gabriel Luiz Freitas Almeida 2023-07-20 15:38:22 -03:00
  • 7d84ed41e8 feat(docs): add "ZONE UNDER CONSTRUCTION" message to components Rodrigo Nader 2023-07-20 15:12:30 -03:00
  • c5bf15a2c4 🔧 fix(custom_component.py): fix import statements and refactor load_flow method to use UUID and improve code readability 🔀 merge(custom_component.py): merge changes from langflow.processing.process module to load_flow method to improve performance and data retrieval Gabriel Luiz Freitas Almeida 2023-07-20 15:09:51 -03:00
  • eb7158ad26 🔨 refactor(custom_component.py): remove unused imports and unused load_flow method parameters for better code cleanliness 🔨 refactor(custom_component.py): update load_flow method to use the process_flow function from the api endpoints module for improved modularity and separation of concerns gustavoschaedler 2023-07-20 18:56:46 +01:00
  • a4cfe9e1e4 🔧 chore(custom_component.py): reformat code for better readability and maintainability 🔧 chore(custom_component.py): reformat code to improve code style and adhere to PEP 8 guidelines gustavoschaedler 2023-07-20 18:44:32 +01:00
  • df77c25138 Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component gustavoschaedler 2023-07-20 18:42:04 +01:00
  • 2513cbcdd9 🔧 chore(custom_component.py): reformat code for better readability and maintainability 🚀 feat(custom_component.py): add load_flow method to load a flow from the database using session and flow_id gustavoschaedler 2023-07-20 18:35:53 +01:00
  • fae76a4a5e Changed placeholder and text placement on prompt component Lucas Oliveira 2023-07-20 14:04:03 -03:00
  • 08c63dbd73 Removed cleanEdges on handleClick Lucas Oliveira 2023-07-20 14:00:00 -03:00
  • 33ea356eba Merge dev into types_refactor Igor Carvalho 2023-07-20 13:31:18 -03:00
  • d5577c78a4
    build(deps): bump aiohttp from 3.8.4 to 3.8.5 (#664) Gabriel Luiz Freitas Almeida 2023-07-20 13:23:49 -03:00
  • 608445eb73
    build(deps): bump aiohttp from 3.8.4 to 3.8.5 dependabot[bot] 2023-07-20 16:19:32 +00:00
  • 8b3fe49e51 🎨 style(styleUtils.ts): replace Sparkles icon with GradientSparkles icon for custom_components in nodeIconsLucide object to improve visual consistency Gabriel Luiz Freitas Almeida 2023-07-20 11:52:57 -03:00
  • 162036cbc7 Merge remote-tracking branch 'refs/remotes/origin/python_custom_node_component' into python_custom_node_component Gabriel Luiz Freitas Almeida 2023-07-20 11:52:14 -03:00
  • a4d4e5cde4 🎨 chore(GradientSparkles): add GradientSparkles icon component 🔧 fix(utils.ts): replace Sparkles icon with GradientSparkles icon component in nodeIconsLucide object Gabriel Luiz Freitas Almeida 2023-07-20 11:45:53 -03:00
  • 72a3316fad css formatting Gabriel Luiz Freitas Almeida 2023-07-20 11:45:16 -03:00
  • 1f4f38345c
    Hotfix: 0.3.2 (#663) Gabriel Luiz Freitas Almeida 2023-07-20 11:32:25 -03:00
  • b013f84896 Merge branch 'modalRefactor' into python_custom_node_component Lucas Oliveira 2023-07-20 11:29:32 -03:00
  • d0300a197c added generic icon onto custom tab code Lucas Oliveira 2023-07-20 11:16:45 -03:00
  • fb22ec701f Merge branch 'dev' into modalRefactor Lucas Oliveira 2023-07-20 11:16:03 -03:00
  • f1b8760a02 merge fixes Lucas Oliveira 2023-07-20 10:16:58 -03:00
  • 5f375d4c2a fix merge Lucas Oliveira 2023-07-20 10:16:28 -03:00
  • 6a0de25b80 Merge branch 'modalRefactor' into python_custom_node_component Lucas Oliveira 2023-07-20 10:14:49 -03:00
  • 8f6e8f9e91 Fixed bug that has been fixed at CustomComponents Lucas Oliveira 2023-07-20 10:12:29 -03:00
  • 9fd026aa54
    Merge branch 'main' into release Gabriel Luiz Freitas Almeida 2023-07-20 10:11:04 -03:00
  • 2022f4b31b Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component Lucas Oliveira 2023-07-20 10:05:06 -03:00
  • af63dd02da Removed unused console.log Lucas Oliveira 2023-07-20 10:04:45 -03:00
  • efd58383b9 Fixed unnecessary calls Lucas Oliveira 2023-07-20 10:04:05 -03:00
  • 19aca4a031 Fixed bug where edges are not maintained after refreshing custom component; Fixed bug where handles are not refreshed on custom component; Lucas Oliveira 2023-07-20 10:03:11 -03:00
  • fbb2b32cbb
    Documentation Components - Reference (#655) Carlos Coelho 2023-07-20 09:37:52 -03:00
  • 583eca137a ✨ feat(logger.py): configure default logger with optional log level and log file parameters for better customization 🔧 chore(logger.py): remove unnecessary blank lines and comments for cleaner code Gabriel Luiz Freitas Almeida 2023-07-20 09:09:17 -03:00
  • 558e0d75ab
    Merge branch 'main' into release Gabriel Luiz Freitas Almeida 2023-07-20 07:21:20 -03:00