Commit graph

6,039 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
846a15f9fd 🐛 fix(base.py): convert "int" and "float" type values to their respective types for better data consistency and type safety 2023-10-11 18:32:56 -03:00
Gabriel Luiz Freitas Almeida
440298861c 🔄 refactor(types.py): update import statement for CUSTOM_COMPONENT_SUPPORTED_TYPES to match new location in field_typing module 2023-10-11 18:32:19 -03:00
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
anovazzi1
411052c077 added todo comment 2023-10-11 17:05:00 -03:00
anovazzi1
fe6d0a78ed fix(tabsContext.tsx): fix the order of arguments in the addFlow function call to correctly add flows to newProject 2023-10-11 16:50:56 -03:00
anovazzi1
f0c64112ea Merge branch 'dev' into saveComponent 2023-10-11 16:13:11 -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
cristhianzl
0e0eea3ad9 chore(codeAreaModal): improve code readability by formatting JSX code and adding class names for positioning
The code in the codeAreaModal component has been formatted to improve readability. Additionally, class names have been added to the Input component to position it correctly on the page.
2023-10-11 08:32:16 -03:00
cristhianzl
88657553cb fix(parameterComponent): add unique id to textarea and input components for accessibility and testing purposes
fix(codeAreaComponent): add id prop to Input component for accessibility and testing purposes
fix(promptComponent): add id prop to GenericModal and span elements for accessibility and testing purposes
fix(textAreaComponent): add id prop to Input component for accessibility and testing purposes
fix(EditNodeModal): add unique id to textarea and input components for accessibility and testing purposes
fix(codeAreaModal): add id prop to Input component for accessibility and testing purposes
fix(genericModal): add id prop to GenericModal and span elements for accessibility and testing purposes
fix(components/types): add id prop to component types for consistency and future use
feat(tests): add tests for CodeAreaModalComponent and PromptTemplateComponent
2023-10-11 08:26:38 -03:00
merrygoround-of-life
957da16d6e Fix: missing numexpr when using poetry to run 2023-10-11 12:59:27 +09: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
71945ed9cf fix(typesContext.tsx): update deleteComponent function signature to include id parameter for better data management
fix(typesContext.tsx): update deleteComponent implementation to use id parameter for localStorage key
fix(sideBarDraggableComponent/index.tsx): update deleteComponent function call to include id parameter for better data management
2023-10-10 17:08:27 -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
Gabriel Luiz Freitas Almeida
4b6ff597a4
Release 0.5.3 (#1034) 2023-10-10 15:18:46 -03:00
Gabriel Luiz Freitas Almeida
2dca7c0d31
Merge branch 'main' into release 2023-10-10 15:14:26 -03:00
Gabriel Luiz Freitas Almeida
5b54b8f1f3 🔖 chore(pyproject.toml): bump version from 0.5.2 to 0.5.3 to reflect the latest changes in the package 2023-10-10 15:12:17 -03:00
anovazzi1
82e1131ed2 fix(typesContext.tsx): set official property of component.node to false to mark it as unofficial
fix(extraSidebarComponent/index.tsx): set official property of component to false if it is explicitly set to false
fix(sideBarDraggableComponent/index.tsx): add official property to SidebarDraggableComponent props and use it to conditionally render delete option in SelectItem
fix(api/index.ts): add official property to APIClassType to indicate if it is an official API
2023-10-10 15:11:04 -03:00
Gabriel Luiz Freitas Almeida
9ac57786cb
Adds alembic initialization logic (#1033) 2023-10-10 15:08:52 -03:00
Gabriel Luiz Freitas Almeida
7ffe366fb8 🐛 fix(manager.py): fix incorrect check for alembic initialization and add proper error handling
 feat(manager.py): add support for initializing alembic if not already initialized before running migrations
2023-10-10 15:01:48 -03:00
Gabriel Luiz Freitas Almeida
9697e06ec9 🐛 fix(change_columns_to_be_nullable.py): add exception handling and rollback in case of SQLAlchemyError to prevent data loss during migration 2023-10-10 15:00:13 -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
Gabriel Luiz Freitas Almeida
1f6bd78e12
Fixes to minimize component (#1030) 2023-10-09 21:57:01 -03:00
Gabriel Luiz Freitas Almeida
7cebf06db1
Merge branch 'main' into release 2023-10-09 21:52:53 -03:00
Gabriel Luiz Freitas Almeida
8d104e3f51 🔖 chore(pyproject.toml): bump version from 0.5.1 to 0.5.2 to indicate a new release with updates 2023-10-09 21:51:44 -03:00
anovazzi1
5cd44bb288
Minimize node fixes (#1029)
Fix Filter edges and unknown handle showing up when node are minimized
2023-10-09 21:29:46 -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
cristhianzl
ecf99cf179 test on Toogle, input, int 2023-10-09 19:53:01 -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
b0385b78ff
🔀 chore(README.md): update GIF link to point to the correct branch (d… (#1027) 2023-10-09 11:34:26 -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