Commit graph

5,050 commits

Author SHA1 Message Date
anovazzi1
795bf73752
Filter Menu Components on Click Edge (#932)
This branch implements the edge filtering feature.
2023-09-21 21:08:47 -03:00
anovazzi1
8275a9c2c1 chore(parameterComponent): remove unnecessary ts-ignore comments
fix(extraSidebarComponent): remove unnecessary if condition in handleBlur function
2023-09-21 21:00:17 -03:00
anovazzi1
a12a7fd1cc
New "more" nodeToolbar button (#952)
This PR introduces a new feature to enhance the editing capabilities of
nodes in our application. We've added a "More" button to the
nodeToolbar, which, when clicked, reveals additional options for editing
nodes.
2023-09-21 20:05:41 -03:00
anovazzi1
1796e349c2 fix(nodeToolbarComponent): fix indentation and formatting issues in the code
feat(nodeToolbarComponent): add support for minimal mode in the toolbar
feat(nodeToolbarComponent): add functionality to show/hide advanced options in the toolbar
2023-09-21 20:03:47 -03:00
anovazzi1
b18a91deb0 code format 2023-09-21 19:23:53 -03:00
anovazzi1
187724342f update message format to put api-key as header 2023-09-21 19:23:53 -03:00
igorrCarvalho
ac67fff000 Refactor: Make changes to api_key only show up in codetabs when authenticated 2023-09-21 19:23:53 -03:00
igorrCarvalho
b1ef10e79b Refactor: update Code Tabs PopUp with api_key 2023-09-21 19:23:53 -03:00
igorrCarvalho
7cead25c8b Remove console.log 2023-09-21 19:07:50 -03:00
igorrCarvalho
2c2197ecad Refactor: Make minimize button show up in the More button popup 2023-09-21 19:06:30 -03:00
igorrCarvalho
b7b7a93cdd formated code 2023-09-21 15:20:36 -03:00
igorrCarvalho
e4ba7364bb merge dev into feat-more 2023-09-21 15:17:08 -03:00
Cristhian Zanforlin Lousa
610e94759a 🐛 fix(api.tsx): update Authorization header to use access_token from cookies instead of accessToken variable to fix authentication issue 2023-09-21 11:50:01 -03:00
anovazzi1
8f01f5c838 chore(example.spec.ts): remove example.spec.ts test file
The example.spec.ts test file was removed as it is no longer needed.
2023-09-21 11:02:37 -03:00
igorrCarvalho
3cbe046e08 Refactor: Disable signUp button when form is invalid 2023-09-21 10:54:20 -03:00
anovazzi1
8a416c235b
Expand floatComponent Input Range (#889)
As detailed in OpenAI's documentation and GitHub issue #884, two float
fields in OpenAI have a range of -2 to 2.
For reference, visit:

Presence Penalty:
https://platform.openai.com/docs/api-reference/chat/create#presence_penalty
Frequency Penalty:
https://platform.openai.com/docs/api-reference/chat/create#frequency_penalty
Currently, FloatComponent only accepts values within [0-1]. This pull
request expands its range to [-2 to 2].
2023-09-20 23:14:30 -03:00
anovazzi1
0fe70a8347
Front tests (#945)
finish tests for login
2023-09-20 22:59:00 -03:00
anovazzi1
55b71605ea login tests finished 2023-09-20 22:57:37 -03:00
anovazzi1
21605d09ba test(login.spec.ts): add test case to check if clicking on "Community Examples" button displays the community pages flows panel 2023-09-20 20:49:07 -03:00
anovazzi1
c6f6d69164 fix(login.spec.ts): update test description to be more specific and descriptive
feat(login.spec.ts): add test case for successful login with mocked API response
2023-09-20 20:48:14 -03:00
anovazzi1
b2f14793e3 migrate progress and install playwrite 2023-09-20 19:53:25 -03:00
anovazzi1
2459833b87
Feat: Introducing Node Minimization Feature (#906)
This pull request introduces a new feature that enhances the usability
and organization of our application's flow. We've added a convenient
"Minimize Node" button, empowering users to declutter their workspace
with a single click. This feature allows users to focus on the most
relevant nodes, resulting in a more efficient and visually pleasing
workflow.
2023-09-20 18:21:37 -03:00
anovazzi1
238dbf1b5f format code 2023-09-20 18:20:43 -03:00
anovazzi1
82a6ad8d87 set auto_login to false to keep develop with login 2023-09-20 18:20:22 -03:00
Cristhian Zanforlin Lousa
e8524ea090 🐛 fix(extraSidebarComponent): update condition in useEffect to include search variable to properly reset filter data and edge when search is empty 2023-09-19 16:27:50 -03:00
Gabriel Luiz Freitas Almeida
f081a0079c Merge remote-tracking branch 'origin/main' into dev 2023-09-19 16:07:39 -03:00
Gabriel Luiz Freitas Almeida
f8b4116b6d
🔖 chore(pyproject.toml): update package version from 0.5.0a0 to 0.5.0a1 for development purposes (#937) 2023-09-19 15:34:02 -03:00
Gabriel Luiz Freitas Almeida
2d9116b388 🔖 chore(pyproject.toml): update package version from 0.5.0a0 to 0.5.0a1 for development purposes 2023-09-19 15:33:05 -03:00
Gabriel Luiz Freitas Almeida
311b0a57e9
Adding Support for Key-Value Pair Objects in Input Flows (#845) 2023-09-19 15:31:24 -03:00
Gabriel Luiz Freitas Almeida
2b454dc645 Formatting 2023-09-19 15:27:12 -03:00
igorrCarvalho
9163aee3ef Refactor: Change minimize icons 2023-09-19 15:24:39 -03:00
Gabriel Luiz Freitas Almeida
9f7e6f0fa2
Merge branch 'dev' into feat-dict 2023-09-19 15:13:52 -03:00
Gabriel Luiz Freitas Almeida
1e5ef1c8c0 🔥 refactor(test_llms_template.py): remove commented out code and unused import to improve code readability and maintainability 2023-09-19 15:13:03 -03:00
Gabriel Luiz Freitas Almeida
ce35caa59f 🐛 fix(base.py): fix variable name in if condition to correctly check field name for 'dict' type handling 2023-09-19 15:11:36 -03:00
Cristhian Zanforlin Lousa
5bb661dbb3 Merge branch 'feat-dict' of https://github.com/logspace-ai/langflow into feat-dict 2023-09-19 15:03:17 -03:00
Cristhian Zanforlin Lousa
2f63d29ce4 🎨 style(App.css): add padding to the .jv-card class to improve spacing and readability
🔥 refactor(parameterComponent/index.tsx): remove unnecessary code block in the value prop to improve code clarity and maintainability
2023-09-19 15:03:12 -03:00
Gabriel Luiz Freitas Almeida
a9034b6937 📝 docs(custom.mdx): add explanation about the difference between dict and langflow.field_typing.NestedDict types
📝 docs(custom.mdx): clarify that langflow.field_typing.NestedDict opens a more robust dictionary editor compared to dict type
2023-09-19 15:01:40 -03:00
Cristhian Zanforlin Lousa
c9126fdb62 🔀 refactor(parameterComponent): remove unused properties from default parameter value object to improve code readability and maintainability 2023-09-19 14:51:01 -03:00
Cristhian Zanforlin Lousa
fe92ce85f9 🐛 fix(parameterComponent): change default key-value pair in case of empty value to improve clarity
🐛 fix(keypairListComponent): update placeholder text to improve user guidance
2023-09-19 14:42:49 -03:00
Gabriel Luiz Freitas Almeida
e528b1363e 🐛 fix(parameterComponent): add condition to prevent setting state if tabId does not exist in previous state 2023-09-19 14:33:57 -03:00
Gabriel Luiz Freitas Almeida
0389d8ec1e 🐛 fix(documentloaders.py): change value of metadata from string to empty object to fix incorrect type assignment 2023-09-19 14:14:11 -03:00
Gabriel Luiz Freitas Almeida
1243c0b644 🐛 fix(test_llms_template.py): remove unused test_llms_settings function to improve code readability and maintainability
🐛 fix(test_template.py): update type annotation in test_format_dict function to reflect the correct type of the field
🐛 fix(test_prompts_template.py): update type annotation in test_prompt_template function to reflect the correct type of the field
2023-09-19 14:08:12 -03:00
Gabriel Luiz Freitas Almeida
01104e666c 🐛 fix(base.py): refactor handle_dict_type method to improve readability and semantics
 feat(base.py): add support for 'dict' type fields to be handled as 'dict' instead of 'code' or 'file'
🐛 fix(documentloaders.py): change field_type of metadata field to 'dict' instead of 'code'
🐛 fix(embeddings.py): change field_type of model_kwargs field to 'dict' instead of 'code'
🐛 fix(field_formatters.py): refactor DictCodeFileFormatter to handle 'dict' type fields as 'dict' instead of 'code' or 'file'
🐛 fix(prompts.py): call parent format_field method in PromptFrontendNode to ensure proper formatting
🐛 fix(vectorstores.py): change field_type of search_kwargs field to 'NestedDict' instead of 'code'
🐛 fix(util.py): remove unused replace_dict_type_with_code function
2023-09-19 14:07:58 -03:00
Gabriel Luiz Freitas Almeida
738bfa4812 🔨 refactor(PromptRunner.py): remove unused inputs field from the component configuration
🔨 refactor(MetalRetriever.py): remove field_type code from params field in the component configuration
🔨 refactor(GetRequest.py): remove field_type code from headers field in the component configuration
🔨 refactor(PostRequest.py): remove field_type code from headers field in the component configuration
2023-09-19 14:07:13 -03:00
Gabriel Luiz Freitas Almeida
2901fb0e94
fix) Fix combinedMemory (#935) 2023-09-19 13:41:51 -03:00
Gabriel Luiz Freitas Almeida
a63a79d90a 🔥 refactor(test_llms_template.py): remove unused test_llms_settings test case
The test_llms_settings test case is no longer needed as it is not being used and does not provide any value to the test suite. Removing it to improve code cleanliness and maintainability.
2023-09-19 11:30:03 -03:00
Gabriel Luiz Freitas Almeida
f788659278 ⬆️ chore(pyproject.toml): add pytest-sugar as a development dependency to improve test reporting 2023-09-19 11:29:51 -03:00
Gabriel Luiz Freitas Almeida
5a70aa04dd 🐛 fix(base.py): fix the assignment of params[key] in Vertex class to correctly handle nested dictionaries and lists
The previous implementation was not correctly handling nested dictionaries and lists. This fix updates the assignment of params[key] to correctly handle nested dictionaries and lists by using a dictionary comprehension.
2023-09-19 11:28:01 -03:00
Cristhian Zanforlin Lousa
094fe2cc0d merge fix 2023-09-19 11:18:46 -03:00
Johngdae
9b22030a73 fix) Fix combinedMemory 2023-09-19 12:02:18 +00:00