Commit graph

3,484 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
6d6cc4609d
Adds motorhead memory (#685) 2023-07-31 16:11:36 -03:00
Gabriel Luiz Freitas Almeida
c5585565c2
Optional_deps (#589) 2023-07-31 15:41:51 -03:00
Cristhian Zanforlin Lousa
f4793940b0 🐛 fix(tabsContext.tsx): add missing import statement for addVersionToDuplicates function
 feat(tabsContext.tsx): add version number to duplicate flow names to ensure uniqueness
🐛 fix(reactflowUtils.ts): add missing newline at end of file
2023-07-27 14:46:20 -03:00
Lucas Oliveira
492371b185 Fixed Save With My API keys toggle 2023-07-26 23:25:19 -03:00
Gabriel Luiz Freitas Almeida
6f2165402a
Merge branch 'dev' into optional_deps 2023-07-26 08:34:10 -03:00
Gabriel Luiz Freitas Almeida
4a1faf3b66 📝 docs(README.md): update dependencies section to remove huggingface-hub and mention the ability to use models from LocalAI project 2023-07-26 08:29:38 -03:00
Gabriel Luiz Freitas Almeida
de110151be 🔒 chore(pyproject.toml): update huggingface-hub version to "^0.16.0" and add "inference" extra to improve compatibility and functionality
🔥 refactor(pyproject.toml): remove unnecessary dependencies from the "local" extra to simplify the project configuration
2023-07-26 08:28:17 -03:00
Gabriel Luiz Freitas Almeida
260e8c7f02 🔧 chore(README.md): remove unnecessary hyphen in Table of Contents
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Installation section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Command Line Interface (CLI) section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Usage section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Deploy Langflow on Jina AI Cloud section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Deploy on Railway section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Deploy on Render section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in Contributing section
🔧 chore(README.md): remove empty line
🔧 chore(README.md): remove unnecessary hyphen in License section
2023-07-26 08:08:50 -03:00
Lucas Oliveira
d79f58cfb5
Notification modal refactor (#683)
This pull request refers to the Notification Center modal refactor,
deleting permanently the PopupContext way of showing the popup, and
utilizing the Popover component from ShadCN to display it.
2023-07-26 07:13:35 -03:00
Igor Carvalho
b70ed70788 refactor[index.css]: Refactor index.css 2023-07-25 19:03:04 -03:00
Gabriel Luiz Freitas Almeida
41471b72a2 🐛 fix(memories.py): fix conditional statement for setting show and required properties of fields in MotorheadMemory class
 feat(memories.py): add conditional statement to show client_id field in MotorheadMemory class
2023-07-25 16:45:00 -03:00
Gabriel Luiz Freitas Almeida
a3417d047b 📝 docs(config.yaml): add documentation link for MotorheadMemory integration
🐛 fix(memories.py): hide and make chat_memory field optional for MotorheadMemory frontend node
2023-07-25 16:32:01 -03:00
Lucas Oliveira
361fd08828 Formatting 2023-07-25 15:16:24 -03:00
Lucas Oliveira
39a696117e Changed notification center popup to ShadCN Popover and deleted popupContext permanently. 2023-07-25 15:15:52 -03:00
Gabriel Luiz Freitas Almeida
dda8676d34 🔖 chore(pyproject.toml): update package version to 0.3.3
🔧 chore(pyproject.toml): update maintainers list with new team members Carlos Coelho, Igor Carvalho, and Rodrigo Nader
2023-07-25 10:58:42 -03:00
Gabriel Luiz Freitas Almeida
fae3250439 🔧 chore(constants.py): add 'google_cse_id' to FORCE_SHOW_FIELDS list to include it in the forced display fields 2023-07-25 10:58:39 -03:00
Cristhian Zanforlin Lousa
3aa4270fe7
Refactor and Unification of Inputs/Textarea Components using ShadCn Styling (#669)
**BRANCH CREATED FROM MODALREFACTOR***

This pull request introduces a significant enhancement to the existing
codebase by refactoring the inputs and textarea components. Currently,
each input and textarea element uses different styling components,
leading to inconsistencies and difficulties in maintaining a unified
design language across the application. To address this issue, we
propose a refactor that unifies all inputs and textareas under a single
ShadCn component.
2023-07-25 10:50:34 -03:00
Cristhian Zanforlin Lousa
f58500c89b merge fix 2023-07-25 10:41:57 -03:00
Lucas Oliveira
45673dcda8
Remove hard-coded colors and unnecessary dark classes (#636)
Change hard coded colors to langflow constants colors
2023-07-25 10:09:12 -03:00
Lucas Oliveira
c009602b57
Adding Retry Interceptor for Failed Requests and Endpoint Display (#679)
This pull request introduces a new feature that enhances the error
handling and user experience in our React application. It implements an
interceptor to automatically retry failed requests and provides a clear
display of the failing endpoint to the user.

Changes Made:

Added a new interceptor to the Axios HTTP client in our React
application.
The interceptor detects failed requests and automatically retries them
based on a predefined retry count.
When a request fails, the interceptor captures the failing endpoint and
stores it.
Modified the user interface to display a user-friendly error message
indicating the failing endpoint.
Enhanced error handling to provide detailed information and better user
feedback.
2023-07-25 10:08:50 -03:00
Lucas Oliveira
812f5d2961 Styling fixes 2023-07-25 10:08:11 -03:00
Lucas Oliveira
bfbe66a547 Merge branch 'dev' into interceptor-dev 2023-07-25 10:07:34 -03:00
Lucas Oliveira
5bf99d11b4
build(deps): bump word-wrap from 1.2.3 to 1.2.5 in /src/frontend (#682)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3
to 1.2.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jonschlinkert/word-wrap/releases">word-wrap's
releases</a>.</em></p>
<blockquote>
<h2>1.2.5</h2>
<p><strong>Changes</strong>:</p>
<p>Reverts default value for <code>options.indent</code> to two spaces
<code>' '</code>.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jonschlinkert/word-wrap/compare/1.2.4...1.2.5">https://github.com/jonschlinkert/word-wrap/compare/1.2.4...1.2.5</a></p>
<h2>1.2.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Remove default indent by <a
href="https://github.com/mohd-akram"><code>@​mohd-akram</code></a> in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/24">jonschlinkert/word-wrap#24</a></li>
<li>🔒fix: CVE 2023 26115 (2) by <a
href="https://github.com/OlafConijn"><code>@​OlafConijn</code></a> in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/41">jonschlinkert/word-wrap#41</a></li>
<li>🔒 fix: CVE-2023-26115 by <a
href="https://github.com/aashutoshrathi"><code>@​aashutoshrathi</code></a>
in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/33">jonschlinkert/word-wrap#33</a></li>
<li>chore: publish workflow by <a
href="https://github.com/OlafConijn"><code>@​OlafConijn</code></a> in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/42">jonschlinkert/word-wrap#42</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/mohd-akram"><code>@​mohd-akram</code></a> made
their first contribution in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/24">jonschlinkert/word-wrap#24</a></li>
<li><a
href="https://github.com/OlafConijn"><code>@​OlafConijn</code></a> made
their first contribution in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/41">jonschlinkert/word-wrap#41</a></li>
<li><a
href="https://github.com/aashutoshrathi"><code>@​aashutoshrathi</code></a>
made their first contribution in <a
href="https://redirect.github.com/jonschlinkert/word-wrap/pull/33">jonschlinkert/word-wrap#33</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4">https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="207044ebda"><code>207044e</code></a>
1.2.5</li>
<li><a
href="9894315485"><code>9894315</code></a>
revert default indent</li>
<li><a
href="f64b188c72"><code>f64b188</code></a>
run verb to generate README</li>
<li><a
href="03ea08256b"><code>03ea082</code></a>
Merge pull request <a
href="https://redirect.github.com/jonschlinkert/word-wrap/issues/42">#42</a>
from jonschlinkert/chore/publish-workflow</li>
<li><a
href="420dce9a24"><code>420dce9</code></a>
Merge pull request <a
href="https://redirect.github.com/jonschlinkert/word-wrap/issues/41">#41</a>
from jonschlinkert/fix/CVE-2023-26115-2</li>
<li><a
href="bfa694edf5"><code>bfa694e</code></a>
Update .github/workflows/publish.yml</li>
<li><a
href="ace0b3c78f"><code>ace0b3c</code></a>
chore: bump version to 1.2.4</li>
<li><a
href="6fd7275946"><code>6fd7275</code></a>
chore: add publish workflow</li>
<li><a
href="30d6daf60f"><code>30d6daf</code></a>
chore: fix test</li>
<li><a
href="655929cabe"><code>655929c</code></a>
chore: remove package-lock</li>
<li>Additional commits viewable in <a
href="https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=word-wrap&package-manager=npm_and_yarn&previous-version=1.2.3&new-version=1.2.5)](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 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>
2023-07-25 10:03:36 -03:00
Lucas Oliveira
9e341fcc31 Merge branch 'dev' into fix-hardCoded-colors 2023-07-25 08:46:03 -03:00
dependabot[bot]
f57ecadfc1
build(deps): bump word-wrap from 1.2.3 to 1.2.5 in /src/frontend
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 11:44:58 +00:00
Lucas Oliveira
2d9081403f
Modal refactor (#647)
This PR is about the transition from PopupContext to the Radix native
way of handling popups, as well as applying a BaseModal to all of the
modals to improve modularity.
2023-07-25 08:43:59 -03:00
Cristhian Zanforlin Lousa
c05eaa5b12 🔧 fix(index.css): remove unnecessary hyphen in comment to improve readability 2023-07-24 18:09:01 -03:00
Gabriel Luiz Freitas Almeida
83fa1502a4 🔧 chore(pre-release.yml): update POETRY_VERSION to 1.5.1 to use the latest version of Poetry
🔧 chore(release.yml): update POETRY_VERSION to 1.5.1 to use the latest version of Poetry
2023-07-24 17:20:18 -03:00
Gabriel Luiz Freitas Almeida
18c2674395 📦 chore(pre-release.yml): add pre-release workflow to automate the release process 2023-07-24 17:17:00 -03:00
Cristhian Zanforlin Lousa
0e0082c710 Merge branch 'dev' into input-refactor 2023-07-24 16:18:48 -03:00
Cristhian Zanforlin Lousa
2c32b13632 merging modal refactor 2023-07-24 16:18:45 -03:00
Cristhian Zanforlin Lousa
9f3a7b9a75 📦 chore(frontend): add @types/axios package to improve type checking in the frontend
🐛 fix(typesContext.tsx): remove unnecessary retry logic and error logging in getTypes function
🚀 feat(API/api.tsx): add ApiInterceptor component to handle API response retries and error handling
🚀 feat(API/index.ts): replace axios calls with api instance from API/api.tsx for better code organization and reusability

 feat(index.tsx): add ApiInterceptor component to intercept API requests and responses for additional processing
2023-07-24 16:16:02 -03:00
Lucas Oliveira
ddfb534a03 Fixed message not appearing when code is displayed 2023-07-24 15:51:28 -03:00
Lucas Oliveira
edf570f314 Added indicator of chat thinking when message is empty. 2023-07-24 11:32:36 -03:00
Lucas Oliveira
ada32b6a48 Refactored state management from tweaks 2023-07-24 10:58:48 -03:00
Gabriel Luiz Freitas Almeida
1910a03d71 ⬆️ chore(pyproject.toml): update gunicorn and langchain dependencies
- Upgrade gunicorn from version 20.1.0 to 21.1.0
- Upgrade langchain from version 0.0.237 to 0.0.240
2023-07-24 10:27:48 -03:00
Lucas Oliveira
169a20ab97 Fixed all bugs with tweaks on API modal 2023-07-24 09:55:42 -03:00
Lucas Oliveira
66cec7d545 Formatting on merge 2023-07-23 19:49:13 -03:00
Lucas Oliveira
7239223481 Merge branch 'dev' into modalRefactor 2023-07-23 19:48:41 -03:00
Gabriel Luiz Freitas Almeida
73516f387e Merge remote-tracking branch 'origin/main' into optional_deps 2023-07-23 13:16:33 -03:00
Gabriel Luiz Freitas Almeida
5309a2fd6a change name of group dev 2023-07-23 13:16:16 -03:00
Cristhian Zanforlin Lousa
97045a3bc0 Merge branch 'modalRefactor' into input-refactor 2023-07-22 09:43:49 -03:00
Cristhian Zanforlin Lousa
c21cf4bb56 🐛 fix(inputListComponent): import useContext from react to fix missing import error
🐛 fix(inputListComponent): import set from lodash to fix missing import error
 feat(inputListComponent): add PopUpContext import to use closeEdit function
🐛 fix(inputListComponent): add useEffect to update inputList state when value prop changes
🐛 fix(EditNodeModal): import getRandomKeyByssmm from utils to fix missing import error
 feat(EditNodeModal): add PopUpContext import to use setCloseEdit function
🐛 fix(EditNodeModal): add useEffect to reset myData state when modalOpen prop changes
2023-07-22 09:43:17 -03:00
Cristhian Zanforlin Lousa
c218dc1d02 Merge branch 'modalRefactor' into input-refactor 2023-07-22 09:05:38 -03:00
Cristhian Zanforlin Lousa
7d91c14481 🐛 fix(inputListComponent): remove redundant useEffect that sets inputList value from props
🐛 fix(inputListComponent): fix cloning of inputList array in onChange event handler to prevent mutation of state
2023-07-22 09:05:04 -03:00
Gustavo Schaedler
b216d8754b
Hotfix: 0.3.3 (#670)
Added google_cse_id on GoogleSearchAPIWrapper component.

Updated list of maintainers with @igorrCarvalho , @carlosrcoelho and
@rodrigosnader
2023-07-21 22:05:18 +01:00
Gabriel Luiz Freitas Almeida
79269e1395
Merge branch 'main' into release 2023-07-21 18:00:45 -03:00
Gabriel Luiz Freitas Almeida
987783eda1 🔖 chore(pyproject.toml): update package version to 0.3.3
🔧 chore(pyproject.toml): update maintainers list with new team members Carlos Coelho, Igor Carvalho, and Rodrigo Nader
2023-07-21 17:57:27 -03:00
Gabriel Luiz Freitas Almeida
054c6d8900 🔧 chore(constants.py): add 'google_cse_id' to FORCE_SHOW_FIELDS list to include it in the forced display fields 2023-07-21 17:47:48 -03:00
Cristhian Zanforlin Lousa
247755c118 🐛 fix(nodeToolbarComponent): wrap EditNodeModal component in a div to fix layout issue 2023-07-21 11:56:34 -03:00