Commit graph

1,112 commits

Author SHA1 Message Date
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
Gabriel Luiz Freitas Almeida
211c875c19
Fix to allowed_tools (#235) 2023-05-02 14:55:14 +00:00
Gabriel Luiz Freitas Almeida
b3a911c94b
Merge branch 'main' into dev 2023-05-02 14:55:07 +00:00
Gabriel Almeida
016091d3b1 chore(pyproject.toml): update package version from 0.0.66 to 0.0.67 2023-05-02 11:48:43 -03:00
Gabriel Almeida
13e58b55b3 refactor(tests): change 'advanced' field to False in all tests templates 2023-05-02 11:48:00 -03:00
Gabriel Almeida
c623b02bf2 refactor(loading.py): make allowed_tools a list if it's not already a list or set 2023-05-02 11:29:38 -03:00
Gabriel Luiz Freitas Almeida
5715fe977a
Hotfix to websocket url (#234) 2023-05-02 14:01:20 +00:00
Gabriel Luiz Freitas Almeida
69d75e05f1
Merge branch 'main' into dev 2023-05-02 13:59:28 +00:00
Gabriel Almeida
4eea69c563 refactor(agents, loading): change tool_names from list to set
This commit changes the `tool_names` variable from a list to a set in several
places in the codebase. This is done to improve performance and readability
since the `tool_names` variable is used as a set in the code. The affected
files are `custom.py`, `prebuilt.py`, and `loading.py`.
2023-05-02 10:56:01 -03:00
Gabriel Almeida
df119f6dd4 chore(pyproject.toml): update package version from 0.0.65 to 0.0.66 2023-05-02 10:41:42 -03:00
Gabriel Almeida
385de55c92 fix(chatModal): change wss to ws in production environment WebSocket URL
Probable fix to #232
2023-05-02 10:40:16 -03:00
Gabriel Almeida
96ef8fd657 refactor(loading.py): remove unused imports and add validation for class_object parameters that are not in __fields__ attribute. 2023-05-01 22:52:17 -03:00
Gabriel Almeida
7ba827e9fc feat(pyproject.toml): add tiktoken dependency to the project 2023-05-01 22:52:09 -03:00
Gabriel Luiz Freitas Almeida
c20369e04b
Hotfix (#231)
Deactivate advanced fields until improved field processing.
2023-05-01 22:54:05 +00:00
Gabriel Luiz Freitas Almeida
163efc97fd
Merge branch 'main' into dev 2023-05-01 22:44:33 +00:00
Gabriel Almeida
ca3c79267f chore(pyproject.toml): update package version from 0.0.64 to 0.0.65 2023-05-01 19:40:44 -03:00
Gabriel Almeida
a44f6123a3 refactor(base.py): change default value of advanced field from True to False in TemplateFieldCreator class 2023-05-01 19:39:02 -03:00
Gabriel Luiz Freitas Almeida
007ebde325
fix tests to comply with updates and hotfixes (#230) 2023-05-01 22:34:53 +00:00
Gabriel Luiz Freitas Almeida
00a766f314
Merge branch 'main' into dev 2023-05-01 22:26:03 +00:00
Gabriel Luiz Freitas Almeida
951a785d18
Fix LangChain imports (#229) 2023-05-01 22:23:51 +00:00
Gabriel Almeida
5ebf71116d feat(nodes.py): make "llm" field required and show it in the frontend 2023-05-01 19:16:36 -03:00
Gabriel Almeida
5d424474f2 fix(util.py): handle ValueError when parsing tool name and description from ast.literal_eval() 2023-05-01 18:55:35 -03:00
Gabriel Almeida
811c3f75cf fix(utils.py): import statement for AsyncCallbackManager was incorrect, changed from langchain.callbacks.base to langchain.callbacks.manager 2023-05-01 18:55:27 -03:00
Gabriel Almeida
b67aed11b3 chore(pyproject.toml): update package version from 0.0.63 to 0.0.64 2023-05-01 18:41:33 -03:00
Gabriel Almeida
cc3841c9bf refactor(agents): import BaseLanguageModel from base_language module instead of schema module 2023-05-01 18:40:24 -03:00
Gabriel Almeida
2b6f70fdb4 fix tests to comply with updates 2023-04-29 19:48:59 -03:00
Gabriel Luiz Freitas Almeida
f413a5c200
Layout hotfixes (#223) 2023-04-29 22:43:00 +00:00
Gabriel Luiz Freitas Almeida
7eb7ff6d7f
Merge branch 'main' into dev 2023-04-29 22:38:07 +00:00