Commit graph

  • aeb7b91446 Changed code to show how it is used. Lucas Oliveira 2023-07-26 15:37:18 -03:00
  • eb0883231b Changed way of disabling sidebar button; Disabled API button before building. Lucas Oliveira 2023-07-26 15:36:35 -03:00
  • 40daa06d75 Added class Lucas Oliveira 2023-07-26 14:16:34 -03:00
  • e90d05b711 Fixed button spacing at Sidebar Lucas Oliveira 2023-07-26 14:15:42 -03:00
  • 30779cb827 Ignore formatting Lucas Oliveira 2023-07-26 14:12:23 -03:00
  • ba02e99ec5 🔄 refactor(index.tsx): reorder import statements for better organization and readability gustavoschaedler 2023-07-26 18:02:12 +01:00
  • d5ee293590 🔧 fix(test_custom_component.py): fix import statements and formatting issues in test_custom_component.py ✨ feat(test_custom_component.py): add tests for list_flows, build_config methods in CustomComponent class 🔧 fix(test_custom_component.py): fix formatting issues in test_list_flows_multiple_queries test ✨ feat(test_custom_component.py): add tests for list_flows, build_config methods in CustomComponent class ✨ feat(test_custom_component.py): add test for return type of list_flows method in CustomComponent class ✨ feat(test_custom_component.py): add test for return type of build_config method in CustomComponent class ✨ feat(test_custom_component.py): add test for presence of 'fields' key in build_config method in CustomComponent class ✨ feat(test_custom_component.py): add test for type of 'fields' value in build_config method in CustomComponent class ✨ feat(test_custom_component.py): add test for type of keys in 'fields' value in build_config method in CustomComponent class ✨ feat(test_custom_component.py): add test for type of values in 'fields' value in build_config method in CustomComponent class gustavoschaedler 2023-07-26 17:40:53 +01:00
  • a89a9a3267 🔥 refactor(custom.py): remove unused code and class 'CustomComponent_old' to improve code cleanliness and maintainability gustavoschaedler 2023-07-26 16:56:21 +01:00
  • 63ead274c4 🔧 fix(constants.py): add support for additional Python base types in CUSTOM_COMPONENT_SUPPORTED_TYPES dictionary 🔧 fix(custom_component.py): update return_type_valid_list to use CUSTOM_COMPONENT_SUPPORTED_TYPES dictionary 🔧 fix(types.py): update add_base_classes function to use CUSTOM_COMPONENT_SUPPORTED_TYPES dictionary instead of LANGCHAIN_BASE_TYPES Gabriel Luiz Freitas Almeida 2023-07-26 10:15:22 -03:00
  • 28149ddb6c 🔧 fix(index.css): remove unnecessary whitespace and comments for better code readability ✨ feat(index.css): add support for beta background and foreground colors to improve visual design and user experience Gabriel Luiz Freitas Almeida 2023-07-26 10:00:34 -03:00
  • 6f2165402a
    Merge branch 'dev' into optional_deps Gabriel Luiz Freitas Almeida 2023-07-26 08:34:10 -03:00
  • 4a1faf3b66 📝 docs(README.md): update dependencies section to remove huggingface-hub and mention the ability to use models from LocalAI project Gabriel Luiz Freitas Almeida 2023-07-26 08:29:38 -03:00
  • de110151be 🔒 chore(pyproject.toml): update huggingface-hub version to "^0.16.0" and add "inference" extra to improve compatibility and functionality 🔥 refactor(pyproject.toml): remove unnecessary dependencies from the "local" extra to simplify the project configuration Gabriel Luiz Freitas Almeida 2023-07-26 08:28:17 -03:00
  • 8d1fda5760 Changed class name to not interfere with default tailwind class Lucas Oliveira 2023-07-26 08:10:22 -03:00
  • 260e8c7f02 🔧 chore(README.md): remove unnecessary hyphen in Table of Contents 🔧 chore(README.md): remove empty line 🔧 chore(README.md): remove unnecessary hyphen in Installation section 🔧 chore(README.md): remove empty line 🔧 chore(README.md): remove unnecessary hyphen in Command Line Interface (CLI) section 🔧 chore(README.md): remove empty line 🔧 chore(README.md): remove unnecessary hyphen in Usage section 🔧 chore(README.md): remove empty line 🔧 chore(README.md): remove unnecessary hyphen in Deploy Langflow on Jina AI Cloud section 🔧 chore(README.md): remove empty line 🔧 chore(README.md): remove unnecessary hyphen in Deploy on Railway section 🔧 chore(README.md): remove empty line 🔧 chore(README.md): remove unnecessary hyphen in Deploy on Render section 🔧 chore(README.md): remove empty line 🔧 chore(README.md): remove unnecessary hyphen in Contributing section 🔧 chore(README.md): remove empty line 🔧 chore(README.md): remove unnecessary hyphen in License section Gabriel Luiz Freitas Almeida 2023-07-26 08:08:50 -03:00
  • b6592d8567 Fixed order of imports Lucas Oliveira 2023-07-26 08:06:57 -03:00
  • a308ecbc4f Formatting Lucas Oliveira 2023-07-26 07:55:38 -03:00
  • 02ca9739a0 Merge branch 'dev' into python_custom_node_component Gabriel Luiz Freitas Almeida 2023-07-26 07:55:25 -03:00
  • a624cee8db Added Chat Widget HTML API Tab Lucas Oliveira 2023-07-26 07:55:12 -03:00
  • 67b2aeae67 🐛 fix(custom_component.py): remove unused import of UUID from langflow.interface.custom.custom_component.py 🐛 fix(custom_component.py): handle case when code is None in is_check_valid method of CustomComponent class 🐛 fix(custom_component.py): handle case when code is None in get_function_entrypoint_args property of CustomComponent class 🐛 fix(custom_component.py): handle case when code is None in get_function_entrypoint_return_type property of CustomComponent class 🐛 fix(custom_component.py): change flow_id parameter type from UUID to str in load_flow method of CustomComponent class 🐛 fix(util.py): ignore type error for multiprocess import in langflow.utils.util module 🐛 fix(util.py): handle case when _type is a type object in remove_optional_wrapper function of langflow.utils.util module Gabriel Luiz Freitas Almeida 2023-07-26 07:47:34 -03:00
  • c4a2c1c80a ✨ feat(schema.py): add ClassCodeDetails and CallableCodeDetails data classes to store details about classes and callables respectively Gabriel Luiz Freitas Almeida 2023-07-26 07:46:31 -03:00
  • bf422f7f37 🔨 refactor(code_parser.py): remove unused imports and classes to improve code cleanliness and maintainability 🔨 refactor(code_parser.py): remove commented out code for function details to improve code readability 🔨 refactor(code_parser.py): refactor parse_node method to remove type ignore comments and improve code readability 🔨 refactor(code_parser.py): refactor parse_function_args method to improve code readability and maintainability 🔨 refactor(code_parser.py): refactor parse_positional_args method to improve code readability and maintainability 🔨 refactor(code_parser.py): refactor parse_varargs method to improve code readability and maintainability 🔨 refactor(code_parser.py): refactor parse_keyword_args method to improve code readability and maintainability 🔨 refactor(code_parser.py): refactor parse_kwargs method to improve code readability and maintainability 🔨 refactor(code_parser.py): refactor parse_function_body method to improve code readability and maintainability 🔨 refactor(code_parser.py): refactor parse_assign method to improve code readability and maintainability 🔨 refactor(code_parser.py): refactor parse_class method to improve code readability and maintainability 🔨 refactor(code_parser.py): refactor parse_global_vars method to improve code readability and maintainability Gabriel Luiz Freitas Almeida 2023-07-26 07:46:00 -03:00
  • 029f01aa35 🐛 fix(base.py): change variable name from fileTypes to file_types for consistency and readability 🐛 fix(agents.py): change variable name from fileTypes to file_types for consistency and readability 🐛 fix(documentloaders.py): change variable name from fileTypes to file_types for consistency and readability 🐛 fix(llms.py): change variable name from fileTypes to file_types for consistency and readability Gabriel Luiz Freitas Almeida 2023-07-26 07:45:31 -03:00
  • 57dd75b3f5 🔧 chore(component.py): add Optional type hint to the 'code' field in the Component model to indicate that it is an optional field 🔧 chore(component.py): update the error message in the validate_entrypoint_name function to provide more clarity on the required field Gabriel Luiz Freitas Almeida 2023-07-26 07:43:49 -03:00
  • c93febc7a3 🚀 feat(test_agents_template.py): add "fileTypes" field to the "path" agent configuration to specify supported file types Gabriel Luiz Freitas Almeida 2023-07-26 07:43:16 -03:00
  • d79f58cfb5
    Notification modal refactor (#683) Lucas Oliveira 2023-07-26 07:13:35 -03:00
  • 39755fb217 🐛 fix(code_parser.py): refactor CodeParser.parse_function_node to use CallableCodeDetails dataclass for storing function details Gabriel Luiz Freitas Almeida 2023-07-26 07:12:24 -03:00
  • 1e54c17574 🔥 refactor(tools.py): remove unused import and typing import statement gustavoschaedler 2023-07-26 01:00:56 +01:00
  • 683d0ffcc8 🐛 fix(types.py): prevent adding base classes that are in CLASSES_TO_REMOVE list to frontend_node Gabriel Luiz Freitas Almeida 2023-07-25 20:54:57 -03:00
  • 91e0bf7a01 refactor: Change types to types folder Igor Carvalho 2023-07-25 20:43:11 -03:00
  • ff2eb2d13d refactor[genericIconComponent]: Refactor icon to type it properly Igor Carvalho 2023-07-25 19:48:13 -03:00
  • f486c27a2f 🔥 refactor(types.py): remove commented out code for building langchain custom component list from path gustavoschaedler 2023-07-25 23:45:35 +01:00
  • 0ada6b841f 🐛 fix(types.py): remove unnecessary blank line ✨ feat(types.py): refactor build_langchain_template_custom_component function to improve readability and error handling gustavoschaedler 2023-07-25 23:44:36 +01:00
  • b70ed70788 refactor[index.css]: Refactor index.css Igor Carvalho 2023-07-25 16:21:55 -03:00
  • e232d33c07 feat(EditFlowSettingsComponent): add validation for duplicate flow names anovazzi1 2023-07-25 18:49:52 -03:00
  • e8f6b435f2 🐛 fix(types.py): fix formatting issues in build_langchain_template_custom_component function for better readability 🐛 fix(types.py): fix formatting issues in build_langchain_custom_component_list_from_path function for better readability gustavoschaedler 2023-07-25 22:20:28 +01:00
  • 60f6c0a8ed Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component gustavoschaedler 2023-07-25 22:06:21 +01:00
  • f11c41644c refactor[utils.ts]: Remove and change wrong types Igor Carvalho 2023-07-25 18:01:35 -03:00
  • 883f852b73 🐛 fix(utils.py): move merge_nested_dicts function to the top of the file for better organization ✨ feat(utils.py): add merge_nested_dicts function to merge nested dictionaries recursively 🐛 fix(endpoints.py): import merge_nested_dicts function from the correct module ✨ feat(endpoints.py): use merge_nested_dicts function to merge dictionaries in build_langchain_custom_component_list_from_path function 🐛 fix(types.py): import merge_nested_dicts function from the correct module ✨ feat(types.py): use merge_nested_dicts function to merge dictionaries in build_langchain_custom_component_list_from_path function 🐛 fix(types.py): import merge_nested_dicts function from the correct module ✨ feat(types.py): use merge_nested_dicts function to merge valid and invalid menus in build_langchain_custom_component_list_from_path function 🐛 fix(tools.py): import Optional from typing module ✨ feat(tools.py): add CustomComponentEmptyNode class to represent an empty custom component template gustavoschaedler 2023-07-25 21:58:09 +01:00
  • f35cbde38a Changed color to specific one Lucas Oliveira 2023-07-25 17:56:02 -03:00
  • 4e5850da3a 🔀 chore(base.py): add "beta" field to the serialized representation of FrontendNode class 📝 docs(base.py): update documentation for FrontendNode class to include information about the "beta" field Gabriel Luiz Freitas Almeida 2023-07-25 17:49:30 -03:00
  • 11bad4d07d Added classes to index.css Lucas Oliveira 2023-07-25 17:43:51 -03:00
  • ae2707d7c3 Merge branch 'python_custom_node_component' of github.com:logspace-ai/langflow into python_custom_node_component Lucas Oliveira 2023-07-25 17:38:49 -03:00
  • c9e13eb359 Changed color Lucas Oliveira 2023-07-25 17:38:24 -03:00
  • 6749fb4475 Changed disposition of Beta div Lucas Oliveira 2023-07-25 17:30:03 -03:00
  • 74e263811b 🔨 refactor(types.py): import CustomComponentFrontendNode from custom_components module to improve code organization and readability Gabriel Luiz Freitas Almeida 2023-07-25 17:22:02 -03:00
  • 19c714a7d5 Added Beta badge Lucas Oliveira 2023-07-25 17:14:12 -03:00
  • b76141b3df 🔄 refactor(custom_component.py): rename list_flow_names method to list_flows for better clarity and consistency 🐛 fix(custom_component.py): fix return value of list_flows method to return the actual flow objects instead of just their names 🔥 chore(custom_component.py): remove unused build method as it is not implemented Gabriel Luiz Freitas Almeida 2023-07-25 17:12:48 -03:00
  • 41471b72a2 🐛 fix(memories.py): fix conditional statement for setting show and required properties of fields in MotorheadMemory class ✨ feat(memories.py): add conditional statement to show client_id field in MotorheadMemory class Gabriel Luiz Freitas Almeida 2023-07-25 16:45:00 -03:00
  • a3417d047b 📝 docs(config.yaml): add documentation link for MotorheadMemory integration 🐛 fix(memories.py): hide and make chat_memory field optional for MotorheadMemory frontend node Gabriel Luiz Freitas Almeida 2023-07-25 16:32:01 -03:00
  • 95f69442d6 📝 docs(README.md): add documentation for deploying on Railway and Render platforms 📝 docs(README.md): add documentation for the component-path command line option to specify custom components directory path Gabriel Luiz Freitas Almeida 2023-07-25 15:37:12 -03:00
  • 361fd08828 Formatting Lucas Oliveira 2023-07-25 15:16:24 -03:00
  • 39a696117e Changed notification center popup to ShadCN Popover and deleted popupContext permanently. Lucas Oliveira 2023-07-25 15:15:52 -03:00
  • 46c6afd85f 🔥 refactor(main.py): remove commented out code for getting log level in create_app() function 🔒 chore(main.py): configure logger in create_app() function to ensure proper logging setup Gabriel Luiz Freitas Almeida 2023-07-25 15:13:43 -03:00
  • a928005b7b 🐛 fix(endpoints.py): change import statement for typing module to import Annotated from typing module to fix type hinting error ✨ feat(endpoints.py): add support for clear_cache parameter in process_flow endpoint to allow clearing the cache before processing the flow 🐛 fix(process.py): add logic to clear cache if clear_cache parameter is True in process_graph_cached function to fix caching issue Gabriel Luiz Freitas Almeida 2023-07-25 15:04:41 -03:00
  • c83060ed58 🐛 fix(base.py): import CLASSES_TO_REMOVE constant from constants module to fix NameError 🔀 chore(constants.py): add CLASSES_TO_REMOVE constant to store classes to be removed from base.py module Gabriel Luiz Freitas Almeida 2023-07-25 14:21:43 -03:00
  • f64d0a2ae4 🐛 fix(parameterComponent): remove unnecessary empty lines for better code readability 🐛 fix(utils): remove unnecessary empty lines for better code readability Gabriel Luiz Freitas Almeida 2023-07-25 14:21:14 -03:00
  • 12933ccf52 🔧 chore(__main__.py): add debug logs to update_settings function for better troubleshooting ✨ feat(__main__.py): add support for loading settings from a specified config file ✨ feat(__main__.py): add support for setting remove_api_keys flag ✨ feat(__main__.py): add support for setting cache flag ✨ feat(__main__.py): add support for adding component path Gabriel Luiz Freitas Almeida 2023-07-25 13:53:39 -03:00
  • 418e132da1 Merge branch 'python_custom_node_component' of https://github.com/logspace-ai/langflow into python_custom_node_component Cristhian Zanforlin Lousa 2023-07-25 12:48:32 -03:00
  • 75e19b4339 🐛 fix(parameterComponent): remove unnecessary if condition and code block 🐛 fix(utils): remove unnecessary if condition and code block ✨ feat(parameterComponent): add fallback logic to display a custom component when no grouped objects are found Cristhian Zanforlin Lousa 2023-07-25 12:48:24 -03:00
  • 0095fc4753 🔧 chore(settings.py): add BASE_COMPONENTS_PATH constant to improve code readability and maintainability 🔧 chore(settings.py): add support for LANGFLOW_COMPONENT_PATH environment variable to allow custom component paths to be added Gabriel Luiz Freitas Almeida 2023-07-25 12:16:06 -03:00
  • aebdfad63c 🔀 chore(config.yaml): rename 'custom' section to 'custom_components' for better clarity and consistency Gabriel Luiz Freitas Almeida 2023-07-25 12:03:28 -03:00
  • 9736dab3c7 🔧 chore(parameterComponent): fix indentation and replace single quotes with double quotes for consistency 📝 docs(parameterComponent): update placeholder text for custom component to be more descriptive Gabriel Luiz Freitas Almeida 2023-07-25 11:47:43 -03:00
  • aa387f89b3 🐛 fix(types.py): add error handling when building custom components to prevent crashes and log the error message Gabriel Luiz Freitas Almeida 2023-07-25 11:47:21 -03:00
  • eb94b957b5 🐛 fix(endpoints.py): fix merging of custom component dictionaries from multiple paths Gabriel Luiz Freitas Almeida 2023-07-25 11:46:57 -03:00
  • 61d8f8edcc 🔧 chore(launch.json): update uvicorn args to use --factory flag and specify the correct app factory function Gabriel Luiz Freitas Almeida 2023-07-25 11:42:05 -03:00
  • dda8676d34 🔖 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
  • fae3250439 🔧 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
  • ac0aa71c10 🐛 fix(__main__.py): add support for component_path parameter to update_settings function ✨ feat(__main__.py): add component_path option to serve command to specify the directory containing custom components 🐛 fix(settings.py): modify update_settings function to handle list attributes correctly Gabriel Luiz Freitas Almeida 2023-07-25 10:39:10 -03:00
  • 17e84e4b2e 🔨 refactor(endpoints.py): rename directory_loader module to directory_reader for better naming consistency 🔨 refactor(endpoints.py): rename directory_loader import to directory_reader for better naming consistency 🔨 refactor(directory_reader.py): rename directory_loader module to directory_reader for better naming consistency 🔨 refactor(types.py): rename directory_loader import to directory_reader for better naming consistency Gabriel Luiz Freitas Almeida 2023-07-25 10:37:06 -03:00
  • 3aa4270fe7
    Refactor and Unification of Inputs/Textarea Components using ShadCn Styling (#669) Cristhian Zanforlin Lousa 2023-07-25 10:50:34 -03:00
  • 94ccb79564 🐛 fix(parameterComponent): update placeholder text for custom component to provide clearer instructions Cristhian Zanforlin Lousa 2023-07-25 10:43:20 -03:00
  • f58500c89b merge fix Cristhian Zanforlin Lousa 2023-07-25 10:41:57 -03:00
  • 4677dcfad2 🐛 fix(parameterComponent): add fallback custom component when groupedObj is empty to prevent rendering issues Cristhian Zanforlin Lousa 2023-07-25 10:27:45 -03:00
  • 45673dcda8
    Remove hard-coded colors and unnecessary dark classes (#636) Lucas Oliveira 2023-07-25 10:09:12 -03:00
  • c009602b57
    Adding Retry Interceptor for Failed Requests and Endpoint Display (#679) Lucas Oliveira 2023-07-25 10:08:50 -03:00
  • 812f5d2961 Styling fixes Lucas Oliveira 2023-07-25 10:08:11 -03:00
  • bfbe66a547 Merge branch 'dev' into interceptor-dev Lucas Oliveira 2023-07-25 10:07:34 -03:00
  • eece41a69a 🔨 refactor(endpoints.py): rename 'load_custom_component_from_path' module to 'directory_loader' for better clarity and consistency 🔨 refactor(types.py): rename 'load_custom_component_from_path' module to 'directory_loader' for better clarity and consistency Gabriel Luiz Freitas Almeida 2023-07-25 10:05:26 -03:00
  • 5bf99d11b4
    build(deps): bump word-wrap from 1.2.3 to 1.2.5 in /src/frontend (#682) Lucas Oliveira 2023-07-25 10:03:36 -03:00
  • f5fd9fe22a
    feat(docs): add "ZONE UNDER CONSTRUCTION" message to components (#665) Gabriel Luiz Freitas Almeida 2023-07-25 10:02:41 -03:00
  • d777bd402f
    Merge branch 'main' into documentation Gabriel Luiz Freitas Almeida 2023-07-25 10:02:33 -03:00
  • 59ef06ab79 Fixed flow not creating after creating custom component Lucas Oliveira 2023-07-25 10:01:21 -03:00
  • e6e96b6f96 Formatting fixes Lucas Oliveira 2023-07-25 09:53:05 -03:00
  • 07ff2cc52f Changed tooltip handler to not use PopupContext Lucas Oliveira 2023-07-25 09:52:27 -03:00
  • d283ce5600 Merge branch 'dev' into python_custom_node_component Lucas Oliveira 2023-07-25 09:41:01 -03:00
  • 53caa41531 Merge branch 'dev' into python_custom_node_component Lucas Oliveira 2023-07-25 09:39:52 -03:00
  • 9e341fcc31 Merge branch 'dev' into fix-hardCoded-colors Lucas Oliveira 2023-07-25 08:46:03 -03:00
  • f57ecadfc1
    build(deps): bump word-wrap from 1.2.3 to 1.2.5 in /src/frontend dependabot[bot] 2023-07-25 11:44:58 +00:00
  • 2d9081403f
    Modal refactor (#647) Lucas Oliveira 2023-07-25 08:43:59 -03:00
  • e8c0eda048
    Implementing Custom Tooltips for Custom Components Feature (#680) Gabriel Luiz Freitas Almeida 2023-07-24 19:04:04 -03:00
  • fb6caaa6bc 🔥 refactor(parameterComponent): remove unnecessary console.log statement Cristhian Zanforlin Lousa 2023-07-24 18:20:12 -03:00
  • c05eaa5b12 🔧 fix(index.css): remove unnecessary hyphen in comment to improve readability Cristhian Zanforlin Lousa 2023-07-24 18:09:01 -03:00
  • 83fa1502a4 🔧 chore(pre-release.yml): update POETRY_VERSION to 1.5.1 to use the latest version of Poetry 🔧 chore(release.yml): update POETRY_VERSION to 1.5.1 to use the latest version of Poetry Gabriel Luiz Freitas Almeida 2023-07-24 17:20:18 -03:00
  • 18c2674395 📦 chore(pre-release.yml): add pre-release workflow to automate the release process Gabriel Luiz Freitas Almeida 2023-07-24 17:17:00 -03:00
  • af66bc6927 Add comments to Otávio help Igor Carvalho 2023-07-24 16:47:50 -03:00
  • 0e0082c710 Merge branch 'dev' into input-refactor Cristhian Zanforlin Lousa 2023-07-24 16:18:48 -03:00
  • 2c32b13632 merging modal refactor Cristhian Zanforlin Lousa 2023-07-24 16:18:45 -03:00
  • d09e07e12d Formated code Igor Carvalho 2023-07-24 16:17:32 -03:00
  • 9f3a7b9a75 📦 chore(frontend): add @types/axios package to improve type checking in the frontend 🐛 fix(typesContext.tsx): remove unnecessary retry logic and error logging in getTypes function 🚀 feat(API/api.tsx): add ApiInterceptor component to handle API response retries and error handling 🚀 feat(API/index.ts): replace axios calls with api instance from API/api.tsx for better code organization and reusability Cristhian Zanforlin Lousa 2023-07-24 16:16:02 -03:00