Commit graph

12,857 commits

Author SHA1 Message Date
anovazzi1
cfdfa0f0f8
fix list display in output inspection (#2409)
create an object for basic array types in output inspection
2024-06-28 20:45:22 +00:00
anovazzi1
d629ff2fb5
Update proxy IDs on group node outputs (#2364)
This pull request focuses on updating the proxy IDs for the outputs of
group nodes within our project.
2024-06-28 20:40:19 +00:00
Cristhian Zanforlin Lousa
b4f1c008ad
Fix: Tweaks tab dissapearing with hook component (#2412)
This pull request addresses an issue where the tweaks tab on ApiModal
disappears when using a webhook component.
2024-06-28 20:35:18 +00:00
anovazzi1
0918891c28
fix edit method on messages (#2435)
fix bug where messages couldn't be edited.
Change post to put on frontend
2024-06-28 20:30:07 +00:00
anovazzi1
659fe349a5
Fix: Ctrl + C not working on tooltips (#2418)
This PR addresses an issue where Ctrl + C was not working correctly
within tooltips. This fix ensures that users can copy text from tooltips
using the Ctrl + C shortcut without any issues.
2024-06-28 20:25:24 +00:00
anovazzi1
e13736249d
Merge branch 'dev' into fixList 2024-06-28 17:09:24 -03:00
anovazzi1
45b909310d
Merge branch 'dev' into fixGroupLogs 2024-06-28 17:08:56 -03:00
anovazzi1
324ad666d1
Merge branch 'dev' into ic/fixTweaksTab 2024-06-28 17:08:24 -03:00
anovazzi1
7fbc5205b0
Merge branch 'dev' into fixMessagesEdit 2024-06-28 17:07:30 -03:00
anovazzi1
85ba7a5067
Merge branch 'dev' into ic/fixCopy 2024-06-28 17:07:03 -03:00
anovazzi1
08b278fc3a
Merge branch 'dev' into fixMessagesEdit 2024-06-28 17:04:18 -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
anovazzi1
975dc8876b
Fix Endpoint to Properly Delete Messages from Database (#2436)
This PR addresses an issue with the endpoint that was failing to delete
messages from the database. The necessary corrections have been made to
ensure that messages are now properly removed when the endpoint is
called.
2024-06-28 19:39:18 +00:00
Lucas Oliveira
33c8539841 Formatted 2024-06-28 16:38:08 -03:00
anovazzi1
e7e14402a8 format code 2024-06-28 16:36:00 -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
anovazzi1
9452208fc2 fix edit method on messages 2024-06-28 15:34:38 -03:00
Gabriel Luiz Freitas Almeida
2b2fca46b9
Updates PassMessage and StoreMessage components (#2379)
- Changed base class from CustomComponent to Component
- Added multiple input fields: message, sender, sender_name, session_id
- Included output field for stored messages
- Improved logic to handle both string and Message types
- Enhanced error handling and validation for message storage
2024-06-28 14:13:55 +00: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
Gabriel Luiz Freitas Almeida
4c9f3c18e3
Feat: Add types to functions, components and hooks that are missing it (#2411)
cherry pick from #2340 which adds more types to frontend code.
2024-06-28 09:58:49 +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
Gabriel Luiz Freitas Almeida
43f6ff0996
Add BaseTracer and refactor convert_to_langchain_types (#2402)
This PR adds a BaseTracer class and refactors the serialization logic in
convert_to_langchain_types.
2024-06-27 18:55:23 +00:00
Gabriel Luiz Freitas Almeida
63ddf8e20c
Bump braces from 3.0.2 to 3.0.3 in /scripts/aws (#2131)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to
3.0.3.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="74b2db2938"><code>74b2db2</code></a>
3.0.3</li>
<li><a
href="88f1429a0f"><code>88f1429</code></a>
update eslint. lint, fix unit tests.</li>
<li><a
href="415d660c30"><code>415d660</code></a>
Snyk js braces 6838727 (<a
href="https://redirect.github.com/micromatch/braces/issues/40">#40</a>)</li>
<li><a
href="190510f79d"><code>190510f</code></a>
fix tests, skip 1 test in test/braces.expand</li>
<li><a
href="716eb9f12d"><code>716eb9f</code></a>
readme bump</li>
<li><a
href="a5851e57f4"><code>a5851e5</code></a>
Merge pull request <a
href="https://redirect.github.com/micromatch/braces/issues/37">#37</a>
from coderaiser/fix/vulnerability</li>
<li><a
href="2092bd1fb1"><code>2092bd1</code></a>
feature: braces: add maxSymbols (<a
href="https://github.com/micromatch/braces/issues/">https://github.com/micromatch/braces/issues/</a>...</li>
<li><a
href="9f5b4cf473"><code>9f5b4cf</code></a>
fix: vulnerability (<a
href="https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727">https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727</a>)</li>
<li><a
href="98414f9f1f"><code>98414f9</code></a>
remove funding file</li>
<li><a
href="665ab5d561"><code>665ab5d</code></a>
update keepEscaping doc (<a
href="https://redirect.github.com/micromatch/braces/issues/27">#27</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/micromatch/braces/compare/3.0.2...3.0.3">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=braces&package-manager=npm_and_yarn&previous-version=3.0.2&new-version=3.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/langflow-ai/langflow/network/alerts).

</details>
2024-06-27 18:51:07 +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
Gabriel Luiz Freitas Almeida
5ccb67ed87
Merge branch 'dev' into dependabot/npm_and_yarn/scripts/aws/braces-3.0.3 2024-06-27 11:32:45 -07: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