Commit graph

8,162 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
d58ba7e5a1 Refactor chat service code for readability and maintainability 2024-02-16 18:13:15 -03:00
Gabriel Luiz Freitas Almeida
1871676b36 Update graph by comparing vertices' __repr__ and updating data if different 2024-02-16 18:13:09 -03:00
Gabriel Luiz Freitas Almeida
71f7bf9c58 Refactor get_vertices function to improve flow ID handling and caching 2024-02-16 18:13:03 -03:00
Gabriel Luiz Freitas Almeida
1f832d0a01 Resolve path for index directory in ChromaSearchComponent 2024-02-16 18:12:32 -03:00
Gabriel Luiz Freitas Almeida
d6ebc60462 Refactor schema.py and add VertexBuildResponseModel 2024-02-16 16:44:08 -03:00
Gabriel Luiz Freitas Almeida
ef5979870a Fix formatting in StreamData __str__ method 2024-02-16 16:40:01 -03:00
Gabriel Luiz Freitas Almeida
128d7d7b88 Refactor Vertex class to improve readability and maintainability 2024-02-16 16:15:23 -03:00
Gabriel Luiz Freitas Almeida
71c94f85fb Use cache when rerunning to allow pinned components 2024-02-16 16:15:13 -03:00
Gabriel Luiz Freitas Almeida
5784940528 Refactor local storage service to remove aiofiles dependency 2024-02-16 15:16:14 -03:00
Gabriel Luiz Freitas Almeida
f7f96ad13b Refactor file deletion logging in LocalStorageService 2024-02-16 15:07:35 -03:00
Gabriel Luiz Freitas Almeida
0d78027680 Refactor graph sorting and cutting functionality 2024-02-16 15:07:22 -03:00
Gabriel Luiz Freitas Almeida
3d42e1b902 Add component_id to sort endpoint 2024-02-16 15:06:42 -03:00
Gabriel Luiz Freitas Almeida
b86ca31cd4 Set vertex state to building 2024-02-16 14:36:08 -03:00
Lucas Oliveira
bf115a2a46 GroupByFamily fixed 2024-02-16 18:21:06 +01:00
anovazzi1
2d30edc13d Remove "FileLoader" from INPUT_TYPES constant 2024-02-16 13:57:56 -03:00
anovazzi1
0f22175d6a Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-02-16 13:36:38 -03:00
Gabriel Luiz Freitas Almeida
d35c16ac03 Refactor buildVertices function to optimize component execution 2024-02-16 13:03:42 -03:00
Gabriel Luiz Freitas Almeida
b7427d08d3 Refactor graph class and add layer refinement algorithm 2024-02-16 13:03:35 -03:00
Gabriel Luiz Freitas Almeida
4bca4fd894 Add check for None value in template_config assignment 2024-02-16 10:48:37 -03:00
Gabriel Luiz Freitas Almeida
96d733c04d Refactor Component class in custom_component/component.py 2024-02-16 09:42:30 -03:00
Gabriel Luiz Freitas Almeida
aba5d9c20f Add index_directory parameter to ChromaComponent constructor 2024-02-16 08:57:39 -03:00
Gabriel Luiz Freitas Almeida
24a602f66e Refactor CustomComponent class and add resolve_path method 2024-02-16 08:57:33 -03:00
Gabriel Luiz Freitas Almeida
3d4821cf98 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-16 08:50:52 -03:00
Gabriel Luiz Freitas Almeida
9928919f6d
Feature Enhancement: Enable Icon Integration for Custom Components (#1433)
This pull request introduces a significant enhancement to our project,
specifically aimed at empowering developers to seamlessly integrate
icons into custom components. The goal is to provide a flexible and
intuitive way to enhance UI elements with visual cues, thereby improving
user experience and interface aesthetics.
2024-02-16 08:49:56 -03:00
Gabriel Luiz Freitas Almeida
d965040478 Fix separator escaping in CharacterTextSplitterComponent 2024-02-16 08:46:05 -03:00
cristhianzl
4d750c2180 refactor: icon fragments functions 2024-02-16 00:38:58 -03:00
anovazzi1
8fb7e78989 add repeat to onClick chatMessage 2024-02-15 19:57:21 -03:00
Gabriel Luiz Freitas Almeida
dc055c5ee6 Refactor ChromaSearchComponent configuration 2024-02-15 18:48:29 -03:00
Gabriel Luiz Freitas Almeida
5b0bf9e116 Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-15 18:39:59 -03:00
Gabriel Luiz Freitas Almeida
bd5ecb8763 Add comments to clarify the structure of the result dict 2024-02-15 18:36:06 -03:00
Gabriel Luiz Freitas Almeida
71bb633da9 Refactor build method in instantiate_custom_component function 2024-02-15 18:36:06 -03:00
Gabriel Luiz Freitas Almeida
8e1ff4b3cc
Fix: Bring back loading to avoid white page error (#1434) 2024-02-15 18:33:54 -03:00
Gabriel Luiz Freitas Almeida
b9ad74cf4e
Update dependencies and refactor import statements (#1435)
This pull request updates the python-multipart version, updates the
dependencies in pyproject.toml, adds Python 3.11 support to lint and
test workflows, and refactors import statements in Qdrant.py.
2024-02-15 18:33:08 -03:00
Gabriel Luiz Freitas Almeida
776f6af504 Remove Python 3.9 from matrix in test.yml 2024-02-15 18:31:58 -03:00
Gabriel Luiz Freitas Almeida
daf2aec0af Update imports and type annotations in several components 2024-02-15 18:23:27 -03:00
cristhianzl
7e42b52d8c Merge branch 'dev' into zustand/io/migration 2024-02-15 18:19:33 -03:00
Lucas Oliveira
1bade7e718 Fixed group nodes appearing at tooltip 2024-02-15 22:06:59 +01:00
Gabriel Luiz Freitas Almeida
de1c00c33f Update imports and deactivate test 2024-02-15 17:24:57 -03:00
Lucas Oliveira
ec545d0d5a Added cable icon to IO 2024-02-15 21:19:30 +01:00
Lucas Oliveira
68b0081f6e Fixed outline button hover color 2024-02-15 21:14:00 +01:00
Gabriel Luiz Freitas Almeida
3ecc492211 Fix validation of icon field in Component class 2024-02-15 16:57:45 -03:00
Gabriel Luiz Freitas Almeida
25774265d3 Fix documentation link and code formatting 2024-02-15 16:53:45 -03:00
Gabriel Luiz Freitas Almeida
0e4737979c Update dependencies in pyproject.toml 2024-02-15 16:53:05 -03:00
Gabriel Luiz Freitas Almeida
e80fb4d598 Refactor import statements in Qdrant.py 2024-02-15 15:31:50 -03:00
Gabriel Luiz Freitas Almeida
05ce063626 Add Python 3.11 support to lint and test workflows 2024-02-15 15:31:31 -03:00
Gabriel Luiz Freitas Almeida
6c8c1e905a Update dependencies in pyproject.toml 2024-02-15 15:24:25 -03:00
Gabriel Luiz Freitas Almeida
4c8a765078 Update python-multipart version 2024-02-15 10:52:35 -03:00
Gabriel Luiz Freitas Almeida
c3d4cb1551
Update docker-compose.yml (#1328)
Problems with Docker Compose not being able to find the backend
2024-02-15 10:52:15 -03:00
Gabriel Luiz Freitas Almeida
fbc3f24440
Bump vite from 4.5.1 to 4.5.2 in /src/frontend (#1360)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite)
from 4.5.1 to 4.5.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md">vite's
changelog</a>.</em></p>
<blockquote>
<h2><!-- raw HTML omitted -->4.5.2 (2024-01-19)<!-- raw HTML omitted
--></h2>
<ul>
<li>fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)
(<a href="eeec23b">eeec23b</a>),
closes <a
href="https://redirect.github.com/vitejs/vite/issues/15653">#15653</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d0360c1247"><code>d0360c1</code></a>
release: v4.5.2</li>
<li><a
href="eeec23bbc9"><code>eeec23b</code></a>
fix: fs deny for case insensitive systems (<a
href="https://github.com/vitejs/vite/tree/HEAD/packages/vite/issues/15653">#15653</a>)</li>
<li>See full diff in <a
href="https://github.com/vitejs/vite/commits/v4.5.2/packages/vite">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vite&package-manager=npm_and_yarn&previous-version=4.5.1&new-version=4.5.2)](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/logspace-ai/langflow/network/alerts).

</details>
2024-02-15 10:51:24 -03:00
Gabriel Luiz Freitas Almeida
856033dbde
Bump actions/setup-node from 3 to 4 (#1423)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3
to 4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/setup-node/releases">actions/setup-node's
releases</a>.</em></p>
<blockquote>
<h2>v4.0.0</h2>
<h2>What's Changed</h2>
<p>In scope of this release we changed version of node runtime for
action from node16 to node20 and updated dependencies in <a
href="https://redirect.github.com/actions/setup-node/pull/866">actions/setup-node#866</a></p>
<p>Besides, release contains such changes as:</p>
<ul>
<li>Upgrade actions/checkout to v4 by <a
href="https://github.com/gmembre-zenika"><code>@​gmembre-zenika</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/868">actions/setup-node#868</a></li>
<li>Update actions/checkout for documentation and yaml by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/876">actions/setup-node#876</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/gmembre-zenika"><code>@​gmembre-zenika</code></a>
made their first contribution in <a
href="https://redirect.github.com/actions/setup-node/pull/868">actions/setup-node#868</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-node/compare/v3...v4.0.0">https://github.com/actions/setup-node/compare/v3...v4.0.0</a></p>
<h2>v3.8.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Update semver by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/861">actions/setup-node#861</a></li>
<li>Update temp directory creation by <a
href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/859">actions/setup-node#859</a></li>
<li>Bump <code>@​babel/traverse</code> from 7.15.4 to 7.23.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/870">actions/setup-node#870</a></li>
<li>Add notice about binaries not being updated yet by <a
href="https://github.com/nikolai-laevskii"><code>@​nikolai-laevskii</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/872">actions/setup-node#872</a></li>
<li>Update toolkit cache and core by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
and <a
href="https://github.com/seongwon-privatenote"><code>@​seongwon-privatenote</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/875">actions/setup-node#875</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-node/compare/v3...v3.8.2">https://github.com/actions/setup-node/compare/v3...v3.8.2</a></p>
<h2>v3.8.1</h2>
<h2>What's Changed</h2>
<p>In scope of this release, the filter was removed within the
cache-save step by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/831">actions/setup-node#831</a>.
It is filtered and checked in the toolkit/cache library.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/setup-node/compare/v3...v3.8.1">https://github.com/actions/setup-node/compare/v3...v3.8.1</a></p>
<h2>v3.8.0</h2>
<h2>What's Changed</h2>
<h3>Bug fixes:</h3>
<ul>
<li>Add check for existing paths by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/803">actions/setup-node#803</a></li>
<li>Resolve SymbolicLink by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/809">actions/setup-node#809</a></li>
<li>Change passing logic for cache input by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/816">actions/setup-node#816</a></li>
<li>Fix armv7 cache issue by <a
href="https://github.com/louislam"><code>@​louislam</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/794">actions/setup-node#794</a></li>
<li>Update check-dist workflow name by <a
href="https://github.com/sinchang"><code>@​sinchang</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/710">actions/setup-node#710</a></li>
</ul>
<h3>Feature implementations:</h3>
<ul>
<li>feat: handling the case where &quot;node&quot; is used for
tool-versions file. by <a
href="https://github.com/xytis"><code>@​xytis</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/812">actions/setup-node#812</a></li>
</ul>
<h3>Documentation changes:</h3>
<ul>
<li>Refer to semver package name in README.md by <a
href="https://github.com/olleolleolle"><code>@​olleolleolle</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/808">actions/setup-node#808</a></li>
</ul>
<h3>Update dependencies:</h3>
<ul>
<li>Update toolkit cache to fix zstd by <a
href="https://github.com/dmitry-shibanov"><code>@​dmitry-shibanov</code></a>
in <a
href="https://redirect.github.com/actions/setup-node/pull/804">actions/setup-node#804</a></li>
<li>Bump tough-cookie and <code>@​azure/ms-rest-js</code> by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/802">actions/setup-node#802</a></li>
<li>Bump semver from 6.1.2 to 6.3.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/setup-node/pull/807">actions/setup-node#807</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="60edb5dd54"><code>60edb5d</code></a>
Add support for arm64 Windows (<a
href="https://redirect.github.com/actions/setup-node/issues/927">#927</a>)</li>
<li><a
href="d86ebcd40b"><code>d86ebcd</code></a>
Add support for <code>volta.extends</code> (<a
href="https://redirect.github.com/actions/setup-node/issues/921">#921</a>)</li>
<li><a
href="b39b52d121"><code>b39b52d</code></a>
Fix node-version-file interprets entire package.json as a version (<a
href="https://redirect.github.com/actions/setup-node/issues/865">#865</a>)</li>
<li><a
href="7247617371"><code>7247617</code></a>
Add <code>package.json</code> to <code>node-version-file</code> list of
examples. (<a
href="https://redirect.github.com/actions/setup-node/issues/879">#879</a>)</li>
<li><a
href="f3ec4ca66f"><code>f3ec4ca</code></a>
Fix README.md (<a
href="https://redirect.github.com/actions/setup-node/issues/898">#898</a>)</li>
<li><a
href="ec97f37504"><code>ec97f37</code></a>
Add fix for cache (<a
href="https://redirect.github.com/actions/setup-node/issues/917">#917</a>)</li>
<li><a
href="5ef044f9d0"><code>5ef044f</code></a>
Update reusable workflows to use Node.js v20 (<a
href="https://redirect.github.com/actions/setup-node/issues/889">#889</a>)</li>
<li><a
href="c45882a6ea"><code>c45882a</code></a>
update to setup-node@v4 in docs (<a
href="https://redirect.github.com/actions/setup-node/issues/884">#884</a>)</li>
<li><a
href="ee36e8b5c0"><code>ee36e8b</code></a>
Ignore engines check in Yarn 1 e2e-cache tests (<a
href="https://redirect.github.com/actions/setup-node/issues/882">#882</a>)</li>
<li><a
href="8f152de45c"><code>8f152de</code></a>
Update actions/checkout for documentation and yaml (<a
href="https://redirect.github.com/actions/setup-node/issues/876">#876</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/setup-node/compare/v3...v4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/setup-node&package-manager=github_actions&previous-version=3&new-version=4)](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)


</details>
2024-02-15 10:50:59 -03:00