Commit graph

10,118 commits

Author SHA1 Message Date
anovazzi1
9452208fc2 fix edit method on messages 2024-06-28 15:34:38 -03:00
cristhianzl
356905c383 test webhook 2024-06-28 15:03:32 -03:00
cristhianzl
5cf24f0ea4 Merge branch 'cz/fix-messages-deleting-error' of https://github.com/langflow-ai/langflow into cz/fix-messages-deleting-error 2024-06-28 14:26:25 -03:00
cristhianzl
17165a00d3 remove console.log 2024-06-28 14:26:10 -03:00
Cristhian Zanforlin Lousa
0082d87d7c
Merge branch 'dev' into cz/fix-messages-deleting-error 2024-06-28 12:16:24 -03:00
cristhianzl
8eae1cd8a8 added rerun tests 2024-06-28 12:03:54 -03:00
cristhianzl
4b6cbe47fc 🐛 (messagesPage): fix selection mapping to use row.id instead of row.index
 (tests): add end-to-end tests for basic prompting and general bugs

 (tests): add end-to-end test for deleting rows from table message
🔧 (tsconfig.json): update test file name for generalBugs to shard-0 spec
2024-06-28 11:33:01 -03:00
autofix-ci[bot]
93b97fba61
[autofix.ci] apply automated fixes 2024-06-28 14:03:06 +00:00
Rodrigo
513f157a1b feat: Add CreateListComponent for creating a list of texts
This commit adds a new component called CreateListComponent, which is responsible for creating a list of texts. The component takes in one or more texts as input and outputs a list of Data objects. This component is useful for scenarios where a list of texts needs to be processed or manipulated.

The CreateListComponent class is added to the helpers module in the langflow.components package. It includes the necessary inputs and outputs, as well as a create_list method that generates the list of Data objects based on the input texts.

This commit also includes some minor changes to other files, such as renaming the UUIDGeneratorComponent to IDGeneratorComponent and updating import statements.
2024-06-28 11:02:24 -03:00
github-actions[bot]
c5779d087a
Merge branch 'dev' into fixGroupLogs 2024-06-28 10:05:59 +00:00
github-actions[bot]
2feeadc454
Merge branch 'dev' into update_components 2024-06-28 10:05:59 +00:00
autofix-ci[bot]
fc137cc690
[autofix.ci] apply automated fixes 2024-06-28 06:34:22 +00:00
igorrCarvalho
63113aa8ea Refactor: enable node copy for multiple selection 2024-06-28 03:32:59 -03:00
igorrCarvalho
2d737a9fa5 Fix: Ctrl + C not working on tooltips 2024-06-28 01:16:00 -03:00
autofix-ci[bot]
d0e017ea2d
[autofix.ci] apply automated fixes 2024-06-27 21:19:41 +00:00
igorrCarvalho
ec1e37a7d9 fix: Tweaks tab dissapearing with hook component 2024-06-27 18:13:02 -03:00
anovazzi1
8836c29a39 Format code 2024-06-27 17:33:49 -03:00
igorrCarvalho
356e7c4455 Feat: add more types 2024-06-27 17:32:08 -03:00
anovazzi1
c0a464f8e2 Merge remote-tracking branch 'origin/dev' into fixList 2024-06-27 16:43:29 -03:00
github-actions[bot]
753bef520b
Merge branch 'dev' into fixGroupLogs 2024-06-27 19:19:00 +00:00
github-actions[bot]
d1483a6a9a
Merge branch 'dev' into update_components 2024-06-27 19:18:59 +00:00
github-actions[bot]
cf4303b301
Merge branch 'dev' into fixGroupLogs 2024-06-27 19:17:45 +00:00
github-actions[bot]
6d21750b4c
Merge branch 'dev' into update_components 2024-06-27 19:17:44 +00:00
Gabriel Luiz Freitas Almeida
02ffc81538
feat: add tests improvements to pipeline CI (#2407)
#### Overview
This pull request introduces several improvements and changes aimed at
enhancing the test structure and codebase maintainability. The key
changes include breaking tests into smaller files to distribute across
more shards, replacing XPath locators with test ID locators, and
performing a general code refactor.

#### Changes

- Break Tests into Smaller Files:

Tests have been split into multiple files to better fit across more
shards. This change aims to improve test execution efficiency and
parallelization.

- Replace XPath Locators with Test ID Locators:

All locators previously using XPath have been updated to use data-testid
attributes. This change improves the reliability and readability of the
locators.

- General Code Refactor:

The codebase has undergone a general refactor to improve maintainability
and readability. This includes:
Renaming variables for better clarity.
Extracting reusable functions and components.
Improving code comments and documentation.
2024-06-27 18:57:36 +00:00
cristhianzl
cfce6c5513 ♻️ (frontend): remove console.log statements from various components 2024-06-27 15:38:29 -03:00
Gabriel Luiz Freitas Almeida
10e4a6606d chore: Add inputs parameter to end method in BaseTracer 2024-06-27 15:37:16 -03:00
cristhianzl
f66eb32e68 ♻️ (langflowShortcuts.spec.ts): move user agent detection logic to after modal handling to improve test flow 2024-06-27 15:26:24 -03:00
Gabriel Luiz Freitas Almeida
fa53def2d8 chore: Update LangSmithTracer constructor parameter type to UUID 2024-06-27 15:20:51 -03:00
Gabriel Luiz Freitas Almeida
6b74d364ca 🐛 (custom_component.py): fix issue where name was not being set correctly when name is None and self.display_name is True 2024-06-27 15:20:42 -03:00
Gabriel Luiz Freitas Almeida
d37ae29a3b ♻️ (base.py): Refactor add_trace and end_trace methods to use Union type for optional arguments to improve code readability and type safety 2024-06-27 15:20:20 -03:00
Gabriel Luiz Freitas Almeida
df2015160e 📝 (base.py): add abstract method __init__ to BaseTracer class with required parameters to enforce implementation in subclasses 2024-06-27 15:20:09 -03:00
Gabriel Luiz Freitas Almeida
ce0efda990 chore: Add metadata parameter to end method in BaseTracer
This commit adds a new optional `metadata` parameter to the `end` method in the `BaseTracer` class. The `metadata` parameter allows for passing additional information related to the tracing process. This enhancement provides more flexibility and extensibility to the tracing functionality.
2024-06-27 15:19:19 -03:00
cristhianzl
04277fae7e merge dev into branch 2024-06-27 15:16:21 -03:00
cristhianzl
fd74050484 add tests improvements 2024-06-27 14:39:00 -03:00
Gabriel Luiz Freitas Almeida
c95036c9ac Refactor: handle error when retrieving messages from monitor service
This commit refactors the code in the `migrate_messages_from_monitor_service_to_database` function to handle errors that may occur when retrieving messages from the monitor service. If an exception is raised, the error is logged and the function returns `False`. This ensures that the migration process can continue even if there is an issue with retrieving the messages.
2024-06-27 14:36:02 -03:00
Gabriel Luiz Freitas Almeida
724f325e08
Merge branch 'dev' into update_components 2024-06-27 10:28:30 -07:00
Gabriel Luiz Freitas Almeida
c6961539ee chore: Update LangSmithTracer import in tracing service 2024-06-27 14:24:25 -03:00
Gabriel Luiz Freitas Almeida
a2404628f0
Merge branch 'dev' into cherry_pick_tracer 2024-06-27 10:20:45 -07:00
anovazzi1
248560b3ef format code 2024-06-27 14:00:46 -03:00
anovazzi1
75cc362409 feat: convert non-object rows to array of objects in DataOutputComponent 2024-06-27 13:59:13 -03:00
github-actions[bot]
e4c38244db
Merge branch 'dev' into fixGroupLogs 2024-06-27 15:51:31 +00:00
anovazzi1
8362187107
Merge branch 'dev' into fixHook 2024-06-27 12:30:21 -03:00
anovazzi1
c7605099f7 format code 2024-06-27 12:28:54 -03:00
github-actions[bot]
3d174297f3
Merge branch 'dev' into fixGroupLogs 2024-06-27 13:38:36 +00:00
github-actions[bot]
272fa5e5e2
Merge branch 'dev' into cherry_pick_tracer 2024-06-27 13:38:35 +00:00
Gabriel Luiz Freitas Almeida
7c0b77505d refactor: Update LangSmithTracer to use convert_to_langchain_types from utils.py 2024-06-27 09:35:19 -03:00
Gabriel Luiz Freitas Almeida
e456e70bc0 refactor: Remove unused methods and abstract class from BaseTracer 2024-06-27 09:35:19 -03:00
Gabriel Luiz Freitas Almeida
4212b27800 refactor: Update logs to outputs in CustomComponent and TracingService classes 2024-06-27 09:35:19 -03:00
italojohnny
d4b7d8b469 create an abstract class for an existing class 2024-06-27 09:35:19 -03:00
igorrCarvalho
84e867ba23 Add blank line at the end of files 2024-06-27 02:21:05 -03:00