Commit graph

9,879 commits

Author SHA1 Message Date
cristhianzl
a86c252edd Merge branch 'cz/fix-messages-deleting-error' of https://github.com/langflow-ai/langflow into cz/fix-messages-deleting-error 2024-06-28 17:16:02 -03:00
cristhianzl
90a908a817 removing wrong code pushed 2024-06-28 17:15:50 -03:00
anovazzi1
13189c9ba3
Merge branch 'dev' into cz/fix-messages-deleting-error 2024-06-28 17:05:26 -03:00
Lucas Oliveira
f19431e2c7
Fix Build Status (#2437)
Fixed nodes having the previous build status while waiting for other
nodes to build
2024-06-28 19:50:24 +00:00
Lucas Oliveira
33c8539841 Formatted 2024-06-28 16:38:08 -03:00
Lucas Oliveira
544846cfdd Fixed status not being deleted when building the flows 2024-06-28 16:34:33 -03:00
italojohnny
b9cbb90ae8 fix delete messages 2024-06-28 16:19:04 -03:00
cristhianzl
8f2d9e01df fix: Remove unused code in textInputOutput.spec.ts
``
2024-06-28 15:54:19 -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]
2feeadc454
Merge branch 'dev' into update_components 2024-06-28 10:05:59 +00: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
github-actions[bot]
d1483a6a9a
Merge branch 'dev' into update_components 2024-06-27 19:18:59 +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
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]
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
igorrCarvalho
1eee6d9e37 Refactor: refactor apiModal tabs generation to prevent bugs and enhance reliability 2024-06-27 02:17:15 -03:00
cristhianzl
2957ec0553 fix tests on store 2024-06-27 01:06:19 -03:00
cristhianzl
0cf7b2e192 🔧 (tsconfig.json): rename curl_api_generation.spec.ts to curlApiGeneration.spec.ts for consistency 2024-06-27 00:45:27 -03:00
cristhianzl
90c7c4940c (tests): add end-to-end test for cURL API generation in curlApiGeneration.spec.ts 2024-06-27 00:38:54 -03:00
cristhianzl
f147eeaa06 breaking tests to improve performance on CI 2024-06-27 00:35:57 -03:00
autofix-ci[bot]
6dc135fdb0
[autofix.ci] apply automated fixes 2024-06-27 03:01:57 +00:00