Commit graph

5,700 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
df66ae848e 🔀 chore(field_typing): add support for additional types in field_typing/__init__.py
🔀 chore(field_typing): add support for Data type in field_typing/base.py

🔀 chore(field_typing): add constants.py file to define supported types in field_typing

🔀 chore(interface/custom): remove duplicate imports and use field_typing types

🔀 chore(utils): fix syntax error in get_base_classes function
2023-10-11 18:31:05 -03:00
Gabriel Luiz Freitas Almeida
b2205bba8a 🐛 fix(types.py): add output types to the frontend node to improve data integrity and error handling
 feat(types.py): add support for adding output types to the frontend node to ensure valid return types and improve error handling
2023-10-11 17:33:32 -03:00
Gabriel Luiz Freitas Almeida
562ebdec6f
added trace name (#1043)
Fixed https://github.com/logspace-ai/langflow/issues/1042
2023-10-11 15:51:07 -03:00
Guangya Liu
7c9f649f01 added trace name 2023-10-11 14:21:41 -04:00
cristhianzl
4e4fae329a chore(applies.css): update class name in .header-arrangement to improve semantics
chore(applies.css): update class name in .api-modal-tabs to improve semantics
2023-10-11 08:41:26 -03:00
anovazzi1
2b3e6fd2e3
update makeFiles (#1037) 2023-10-10 20:18:51 -03:00
anovazzi1
06c7328012 update makeFiles 2023-10-10 19:47:09 -03:00
anovazzi1
a95db60a89
prevent code fields to show on group node (#1035)
refactor(reactflowUtils.ts): change display_name of generated group node
from "group Component" to "Group" for better clarity and understanding
2023-10-10 16:01:04 -03:00
anovazzi1
7f9a4a13f2 chore(reactflowUtils.ts): prevent code fields from showing on the group node to improve user experience and maintain consistency
refactor(reactflowUtils.ts): change display_name of generated group node from "group Component" to "Group" for better clarity and understanding
2023-10-10 15:56:25 -03:00
anovazzi1
66700bd30e
Bugfix minimize node (#1032)
some minor bug fixes
2023-10-10 13:51:41 -03:00
anovazzi1
6ae41c265c Merge remote-tracking branch 'origin/dev' into bugfix_minimizeNode 2023-10-10 13:39:01 -03:00
anovazzi1
99662ccc23
New group node (#891) 2023-10-10 13:12:29 -03:00
anovazzi1
0718819a10 fix invalid json strings 2023-10-09 21:26:40 -03:00
anovazzi1
4a8caa609f remove console.log 2023-10-09 21:15:15 -03:00
anovazzi1
94b3aa88b9 add suport to drop collections 2023-10-09 21:13:42 -03:00
igorrCarvalho
e1107ffdf7 Remove blank space 2023-10-09 18:20:23 -03:00
igorrCarvalho
3fd7a3e4cd Fix: Add dict on verification to avoid unknown edge 2023-10-09 18:08:33 -03:00
igorrCarvalho
8e5dd6b0e3 Fix: Add onclick on minimized node to make filter edges work 2023-10-09 17:14:39 -03:00
anovazzi1
a90e5b243f update git ignore 2023-10-09 17:05:03 -03:00
anovazzi1
f7534516ef create shell scripts to run frontend test 2023-10-09 17:04:07 -03:00
Gabriel Luiz Freitas Almeida
4544abe96d
Update README.md (#1020) 2023-10-09 16:53:35 -03:00
Gabriel Luiz Freitas Almeida
c0e25ff911
Valid placeholder name for editFlowSettings component (#1023) 2023-10-09 14:52:24 -03:00
anovazzi1
d419fd6ee4 first shell script to run frontend tests 2023-10-09 12:35:19 -03:00
Cristhian Zanforlin Lousa
9e2b73eac9 🔧 fix(DropdownButtonComponent): add id attribute to Button component to improve accessibility and testing capabilities
🔧 fix(floatComponent): add id attribute to Input component to improve accessibility and testing capabilities
🔧 fix(keypairListComponent): add id attribute to Input components to improve accessibility and testing capabilities
🔧 fix(keypairListComponent): add id attribute to Plus and Minus buttons to improve accessibility and testing capabilities
🔧 fix(toggleShadComponent): add id attribute to Switch component to improve accessibility and testing capabilities
🔧 fix(EditNodeModal): add id attribute to ToggleShadComponent component to improve accessibility and testing capabilities
🔧 fix(PageComponent): add id attribute to div element to improve accessibility and testing capabilities
🔧 fix(extraSidebarComponent): add id attribute to div element to improve accessibility and testing capabilities
🔧 fix(nodeToolbarComponent): add id attribute to div element to improve accessibility and testing capabilities
🔧 fix(nodeToolbarComponent): add id attribute to button element to improve accessibility and testing capabilities
🔧 fix(types/components): add id attribute to ToggleComponentType to improve accessibility and testing capabilities

🚀 feat(keypair.spec.ts): add tests for KeypairListComponent to verify key-value pairs functionality
🚀 feat(float.spec.ts): add tests for FloatComponent to verify float input functionality

🚀 feat: add support for toggling various options in the UI

This commit adds support for toggling various options in the UI. The following options can now be toggled:
- showtemperature
- showtop_k
- showtop_p
- showuse_mlock
- showuse_mmap
- showverbose
- showvocab_only
- showcache
- showecho
- showf16_kv
- showgrammar_path
- showlast_n_tokens_size
- showlogits_all
- showlogprobs
- showlora_base
- showlora_path
- showmax_tokens
- showmetadata
- showmodel_kwargs
- showmodel_path
- shown_batch
- shown_ctx
- shown_gpu_layers
- shown_parts
- shown_threads
- showrepeat_penalty
- showrope_freq_base
- showrope_freq_scale
- showseed
- showstop
- showstreaming
- showsuffix
- showtags

These options can be toggled by clicking on the respective elements in the UI. The commit also includes tests to ensure that the toggling functionality works as expected.
2023-10-09 12:34:35 -03:00
Gabriel Luiz Freitas Almeida
6511522536
Makes workflows run only when needed (#1028) 2023-10-09 11:23:34 -03:00
Gabriel Luiz Freitas Almeida
04ca4ce220 🔧 chore(ci.yml): update CI configuration to include specific paths for push and pull_request events
🔧 chore(ci.yml): update CI configuration to include specific paths for push and pull_request events
2023-10-09 11:22:34 -03:00
Gabriel Luiz Freitas Almeida
4b78140c82 🔧 chore(lint.yml): update lint workflow to include additional paths for linting
🔧 chore(test.yml): update test workflow to include additional paths for testing
2023-10-09 11:22:04 -03:00
Gabriel Luiz Freitas Almeida
08c6e19055
Merge branch 'main' into release 2023-10-09 11:18:21 -03:00
Gabriel Luiz Freitas Almeida
0bac61c66f 🎨 style(index.mdx): update image source to use the correct image file
🗑️ chore(index.mdx): remove unused image file new_langflow2.gif
2023-10-09 11:17:21 -03:00
Gabriel Luiz Freitas Almeida
5cbf8033df 🎨 style(index.mdx): update image file name to match the actual file name 2023-10-09 11:16:14 -03:00
Gabriel Luiz Freitas Almeida
2b1749e5ce 🎨 chore(docs): update new_langflow.gif image
🗑️ chore(docs): remove new_langflow2.gif image
2023-10-09 11:16:01 -03:00
Gabriel Luiz Freitas Almeida
44bebf7d6b Merge remote-tracking branch 'origin/dev' into newGroupNode 2023-10-09 10:48:35 -03:00
Gabriel Luiz Freitas Almeida
8eae2fa126 🔍 test(graph.py): add assertions to verify expected keywords in source and target fields of processed_flow edges
The test_process_flow_vector_store_grouped function now includes assertions to check if the expected keywords are present in the source and target fields of the edges in the processed_flow dictionary. This ensures that the processing of the flow vector store grouped JSON is correctly generating the edges with the expected connections between nodes.
2023-10-09 10:41:54 -03:00
Gabriel Luiz Freitas Almeida
40eff45ffb
Fix CMD in Dockerfile (#1025) 2023-10-08 18:46:16 -03:00
Gabriel Luiz Freitas Almeida
32e45c6610 🐛 fix(Dockerfile): update CMD command to use 'run' subcommand for better clarity and consistency 2023-10-08 18:45:05 -03:00
Gabriel Luiz Freitas Almeida
6f1306887a 🔧 chore(Makefile): simplify frontend target by combining install_frontend and run_frontend commands
🐛 fix(Makefile): handle error in install_frontend command and attempt to fix it by running install_frontendc
🔧 chore(Makefile): simplify backend target by combining install_backend and run_backend commands
 feat(Makefile): add support for login flag to control autologin feature in backend command
2023-10-08 18:44:08 -03:00
Gabriel Luiz Freitas Almeida
419822211f 🔀 chore(README.md): update GIF link to point to the correct branch (dev) to ensure the latest demo is displayed 2023-10-08 18:01:05 -03:00
Gabriel Luiz Freitas Almeida
84248110e1 🔀 chore(README.md): update GIF link to point to the correct branch (dev) to ensure the latest demo is displayed 2023-10-08 18:00:26 -03:00
Gabriel Luiz Freitas Almeida
1ce520026a Fix langflow gif 2023-10-08 17:57:40 -03:00
Gabriel Luiz Freitas Almeida
c941099275 🐛 fix(Makefile): fix typo in make target name 'install_frontendc' to 'install_frontend' to resolve error during frontend installation
 feat(Makefile): add error handling to retry frontend installation if it fails to ensure successful installation
🐛 fix(Makefile): fix typo in make target name 'install_frontendc' to 'install_frontend' to resolve error during frontend installation
 feat(Makefile): add support for running backend with or without autologin based on the value of the 'autologin' variable
2023-10-08 17:50:14 -03:00
Raj Chauhan
4f9ab6516e
valid placeholder name 2023-10-07 22:56:39 +05:30
Gabriel Luiz Freitas Almeida
61a5c9dcdb 🐛 fix(utils.py): improve error handling in initialize_database() function
The `initialize_database()` function now handles two specific exceptions: "overlaps with other requested revisions" and "Can't locate revision identified by". If either of these exceptions occur, they will not be raised and instead the `alembic_version` table will be deleted. This change improves the error handling and ensures that the database is properly initialized.
2023-10-07 12:03:51 -03:00
anovazzi1
be5060b5f7 fix handle on groupNod for minification 2023-10-06 19:48:00 -03:00
anovazzi1
c30026743a feat(tests): add end-to-end tests for Flow Page and Group component
Add end-to-end tests for the Flow Page and Group component in the frontend. The Flow Page tests include a test for saving a custom component and verifying the success alert. The Group component tests include tests for grouping and ungrouping components, editing component properties, and verifying the changes.
2023-10-06 19:12:35 -03:00
anovazzi1
533e4cc47f remove 'null' test value 2023-10-06 17:43:48 -03:00
anovazzi1
2c594894e0 fix(ui/tooltip.tsx): add z-index to tooltip content to ensure it appears above other elements
feat(modals/EditNodeModal/index.tsx): add ShadTooltip component to display tooltip content for template parameters
2023-10-06 17:38:07 -03:00
Gabriel Luiz Freitas Almeida
7a1f06128e 🐛 fix(base.py): fix type hint for nodes parameter in Graph class constructor to improve code readability and maintainability
🔀 refactor(base.py): refactor initialization of top_level_nodes list in Graph class constructor to improve code readability and maintainability
2023-10-06 16:59:29 -03:00
Gabriel Luiz Freitas Almeida
4d6c731a9d 🐛 fix(base.py): change assignment of source_handle and target_handle to use get() method to handle missing keys gracefully
🐛 fix(base.py): change assignment of parent_node_id and parent_is_top_level to use state dictionary instead of _data attribute
🐛 fix(test_graph.py): change arguments passed to update_source_handle() function to match its signature
2023-10-06 16:19:42 -03:00
anovazzi1
1eca5bd40a fix(reactflowUtils.ts): add support for "dict" and "NestedDict" types in updateGroupNodeTemplate function
The updateGroupNodeTemplate function was updated to include support for the "dict" and "NestedDict" types. This allows the function to properly handle these types when checking if they are required or not.
2023-10-06 16:03:26 -03:00
anovazzi1
98afa2192b update poetry lock and package-lock 2023-10-06 15:46:00 -03:00