Commit graph

1,139 commits

Author SHA1 Message Date
Gabriel Almeida
2c836c1950 fix: remove snake to normal case from export flow 2023-05-09 13:19:53 -03:00
Gabriel Almeida
0bc96208e4 refactor(api): change predict endpoint to use async/await and add response model
feat(api): add predict request and response schemas
refactor(interface): rename get_result_and_steps to get_result_and_thought and remove async prefix
fix(interface): use get_result_and_thought instead of async_get_result_and_steps in process_graph_cached
2023-05-09 13:19:19 -03:00
Gabriel Almeida
8810a0392a refactor(langflow): rename BaseLLM to BaseLanguageModel in multiple files
fix(langflow): fix type hints in multiple files
2023-05-08 15:05:28 -03:00
Gabriel Almeida
01de3a2021 refactor(test_graph.py): remove unused import of build_json from payload module 2023-05-07 20:15:29 +00:00
Gabriel Almeida
7b8aaef359 feat(config.yaml): add GoogleSerperRun tool to the list of available tools 2023-05-07 20:15:29 +00:00
Gabriel Almeida
5836a91a39 fix: replace basic_example 2023-05-07 20:15:29 +00:00
Gabriel Almeida
3b733ada01 refactor(tests): remove unused imports and variables, fix typos and update node types 2023-05-07 20:15:29 +00:00
Gabriel Almeida
7ae42bf7d2 refactor(importing/utils.py): move tool_creator import to import_tool function
refactor(tools/base.py): remove redundant variable assignment
refactor(tools/constants.py): import all tools dynamically using __all__ attribute of langchain.tools module
2023-05-07 20:15:29 +00:00
Gabriel Almeida
bbf4f5ce1a chore(agents): add type ignore comments to ZeroShotAgent instantiation
The `ZeroShotAgent` instantiation in `JsonAgent`, `CSVAgent`, `VectorStoreAgent`, `SQLAgent`, and `MalfoyAgent` classes were updated to include a `# type: ignore` comment to suppress type checking errors.
2023-05-07 20:15:29 +00:00
Gabriel Almeida
1d5f156a22 refactor(cache): add cache attribute to memoized function wrapper
refactor(test_cache.py): update import statements and function names
test(cache): add tests for load_or_build_langchain_object, build_langchain_object_with_caching, build_graph, and cache size limit
2023-05-07 20:15:29 +00:00
Gabriel Almeida
fa9825849a fix(validate.py): change logger.exception to logger.error to avoid logging traceback 2023-05-07 20:15:29 +00:00
Gabriel Almeida
8e9a745bd4 fix(test.yml): correct typo in make command from 'test' to 'tests' 2023-05-07 20:15:29 +00:00
Gabriel Almeida
c065ceb979 feat(pyproject.toml): add wikipedia package to dependencies 2023-05-07 20:15:29 +00:00
Gabriel Almeida
17863c6e93 refactor(loading.py): add try-except block to handle KeyError when removing 'model' from params dictionary 2023-05-06 08:30:25 -03:00
Gabriel Almeida
c630f293b0 Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-05-04 18:31:05 -03:00
Gabriel Almeida
64bf97ff84 chore(base.py): add type ignore comment to clear_cache function
fix(base.py): raise ValueError if content is None in save_binary_file function
feat(nodes.py): add memory field to TimeTravelGuideChainNode
test(test_chains_template.py): add test for memory field in TimeTravelGuideChainNode
2023-05-04 18:24:12 -03:00
anovazzi1
52df6d9152 removed console.log and fixed onDeleteBug 2023-05-04 02:14:36 +00:00
anovazzi1
25da8d89e6 bug for multiple selection on mac fix 2023-05-04 02:14:36 +00:00
anovazzi1
db951cde20
UI improvements (#240)
some UI improvements:
- fixed password toggle button
- extend conversion to kebab case
- fixed outside click on the alert dropdown
- update logspace ui reference
2023-05-02 22:56:48 -03:00
anovazzi1
e2c8dfab2f Merge branch 'dev' into uiImprovements 2023-05-02 22:52:57 -03:00
anovazzi1
6cf9611818 logspace reference ui update 2023-05-02 22:50:47 -03:00
anovazzi1
a8406472fb removed console.log 2023-05-02 22:45:44 -03:00
Gabriel Almeida
e0761cfe23 refactor(agents): change tool_names variable from list to set
The `tool_names` variable was changed from a list to a set in the `JsonAgent`, `CSVAgent`, `VectorStoreAgent`, `SQLAgent`, and `MalfoyAgent` classes. This change was made to improve performance and avoid duplicates.
2023-05-02 23:23:36 +00:00
Gabriel Almeida
1b10041730 refactor(base.py): simplify type of Union fields to the first type in the Union
fix(test_agents_template.py): set value of list field to an empty list
fix(test_llms_template.py): change type of 'request_timeout' field to float
2023-05-02 23:23:36 +00:00
Gabriel Almeida
9d3098f3e2 refactor(langflow): reorder imports in multiple files
This commit reorders imports in multiple files to follow PEP8 guidelines
and improve code readability. No functional changes were made.
2023-05-02 23:23:36 +00:00
anovazzi1
a9d8c6fcb3 fomrated code 2023-05-02 23:23:36 +00:00
anovazzi1
83b3347fc5 fixed AutoUpdate for each node 2023-05-02 23:23:36 +00:00
anovazzi1
7f993ea908 fixed outside click on alert popup 2023-05-02 19:54:05 -03:00
anovazzi1
6608ec8ab7 added kebab case filter 2023-05-02 19:24:56 -03:00
anovazzi1
6c36545f98 fixed password visible 2023-05-02 19:03:21 -03:00
Gabriel Almeida
1813befde1 fix(inputComponent): add missing space in className prop
fix(inputComponent): add missing space in password class name
2023-05-02 18:50:21 -03:00
Gabriel Almeida
1b6e61d3cb style(inputComponent): fix indentation and spacing in InputComponent component 2023-05-02 18:46:41 -03:00
Gabriel Almeida
e27f6d5d7d fix: updateObject order was incorrect
Fixes Tool nodes are not loaded correctly. #228
2023-05-02 17:24:08 -03:00
Gabriel Almeida
ed5fd7f862 feat(GenericNode): add debounced validation of node on change to improve performance and user experience
feat(utils.ts): add debounce function to debounce function calls
2023-05-02 16:54:40 -03:00
Gabriel Almeida
7a50129149 refactor(loading.py): process params before instantiating class object 2023-05-02 16:39:33 -03:00
CodeAunt
5f796368ac add view button for password input field 2023-05-02 18:48:30 +00:00
codeaunt
df611b6782 disable password copy 2023-05-02 18:48:30 +00:00
Gabriel Almeida
0c7f2d5886 Merge branch 'main' of https://github.com/logspace-ai/langflow into dev 2023-05-02 15:29:05 -03:00
Gabriel Almeida
4ee891711c refactor(agents): change tool_names from set to list
This commit changes the `tool_names` variable from a set to a list in the `JsonAgent`, `CSVAgent`, `VectorStoreAgent`, `SQLAgent`, `VectorStoreRouterAgent`, `MalfoyAgent`, and `load_agent_executor_from_config` classes. This is done to ensure that the `tool_names` variable is always a list, even when there is only one tool.
2023-05-02 18:17:08 +00:00
Gabriel Almeida
68408a672e chore(pyproject.toml): update package version from 0.0.67 to 0.0.68 2023-05-02 18:17:08 +00:00
Gabriel Almeida
5ce075f84c refactor(loading.py): use get method to set allowed_tools to an empty list if it is not present in params dictionary 2023-05-02 18:17:08 +00:00
Gabriel Almeida
e64abd91ac feat(chatModal): add support for secure websockets (wss) in production environment 2023-05-02 18:17:08 +00:00
Gabriel Almeida
c7700fd3c3 refactor(util.py): add support for Sequence and Set types in format_dict function 2023-05-02 18:17:08 +00:00
Gabriel Almeida
bd9bf69add Merge branch 'dev' of https://github.com/logspace-ai/langflow into dev 2023-05-02 15:11:43 -03:00
Gabriel Almeida
7dddd641cf refactor(agents): change tool_names from set to list
This commit changes the `tool_names` variable from a set to a list in the `JsonAgent`, `CSVAgent`, `VectorStoreAgent`, `SQLAgent`, `VectorStoreRouterAgent`, `MalfoyAgent`, and `load_agent_executor_from_config` classes. This is done to ensure that the `tool_names` variable is always a list, even when there is only one tool.
2023-05-02 15:11:32 -03:00
Gabriel Luiz Freitas Almeida
9a1fd28ad7
Merge branch 'main' into dev 2023-05-02 18:08:24 +00:00
Gabriel Almeida
4c82c62410 chore(pyproject.toml): update package version from 0.0.67 to 0.0.68 2023-05-02 15:05:32 -03:00
Gabriel Almeida
d79f655d88 refactor(loading.py): use get method to set allowed_tools to an empty list if it is not present in params dictionary 2023-05-02 15:04:28 -03:00
Gabriel Almeida
9ffa88a773 feat(chatModal): add support for secure websockets (wss) in production environment 2023-05-02 15:04:01 -03:00
Gabriel Almeida
8e1cb1d732 refactor(util.py): add support for Sequence and Set types in format_dict function 2023-05-02 13:12:03 -03:00