Commit graph

13,136 commits

Author SHA1 Message Date
Cristhian Zanforlin Lousa
2fe2024a58 Fix lint error version of tailwind css plugin (#2323)
⬆️ (package.json): update prettier-plugin-tailwindcss to version 0.6.5
♻️ (package.json): reorder @types/lodash dependency for consistency

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-06-25 10:21:38 -07:00
anovazzi1
f954295731 format code 2024-06-25 10:21:38 -07:00
anovazzi1
c8d37c38b4 fix fetch data to work even with autologin true 2024-06-25 10:21:38 -07:00
Gabriel Luiz Freitas Almeida
fff4537b1e
Fixes CLI and server (#2342)
* chore: update linting workflows to include dev branch in merge_group

* Update README.md

Add 1.0 banner

* Update README.md

* chore: update package versions in pyproject.toml files

* Refactor "created_at" column type for consistency and fix cancel middleware (#2316)

* chore: update linting workflows to include dev branch in merge_group

* Update README.md

Add 1.0 banner

* Update README.md

* chore: update package versions in pyproject.toml files

* refactor: update "created_at" column type to use the "sa" module for consistency

* Update README.md

Add 1.0 banner

* chore: Remove unused import in ToolCallingAgent.py

* fix: adapt RequestCancelledMiddleware to handle cancelled requests

* chore: Remove unused import in test_helper_components.py

* refactor: Declare queue variable with explicit type in RequestCancelledMiddleware

---------

Co-authored-by: Rodrigo Nader <rodrigosilvanader@gmail.com>

* chore: Update AstraDB.py imports and method signature for search_documents

* chore: Update package versions in pyproject.toml files

* chore: Update run-name in release.yml for Langflow Release

* fix: add call to _add_documents_to_vector_store in AstraDB component

* chore: Fix missing parentheses in RequestCancelledMiddleware

* chore: Update pydantic-settings and tenacity versions

The commit updates the versions of the `pydantic-settings` and `tenacity` packages in the `poetry.lock` file. The `pydantic-settings` version is updated from 2.3.3 to 2.3.4, and the `tenacity` version is updated from 8.4.1 to 8.4.2.

* Update README.md

Add 1.0 banner

* fix fetch data to work even with autologin true

* format code

* deactivate stop button until we have a better solution (#2337)

* consistent auth error status code

* [Fix] unhandled http errors in background tasks (#2326)

* handle exceptions for background task

* revert changes that is not related to this HTTP handler exception

* Refactor model GoogleGenerativeAIModel (#2251)

* refactor model GoogleGenerativeAIModel

* adds model options

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

* Fix .env values not being honored in CLI (#2336)

* chore: Update launch.json to include environment file

The launch.json file was updated to include the environment file path for the "run" command in the "Python: Flask" configuration. This change ensures that the necessary environment variables are loaded when running the backend base of Langflow frontend. The previous configuration had the environment variables set in the "env" field, but it has been removed as it is redundant with the new environment file inclusion.

* chore: Update dotenv import and environment variable handling

This commit updates the import statement for the `dotenv` module in the `__main__.py` file. It adds the `dotenv_values` function to the import statement to enable loading environment variables from a file. Additionally, it introduces a new section of code that maps environment variables to their corresponding variables and types, allowing for more flexible and dynamic configuration. The commit also updates the `run` function to update variables based on environment variables, if they are present. This change improves the handling of environment variables and enhances the configurability of the application.

* deactivate stop button until we have a better solution (#2337)

* consistent auth error status code

* [Fix] unhandled http errors in background tasks (#2326)

* handle exceptions for background task

* revert changes that is not related to this HTTP handler exception

* Refactor model GoogleGenerativeAIModel (#2251)

* refactor model GoogleGenerativeAIModel

* adds model options

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>

---------

Co-authored-by: ming luo <itestmycode@gmail.com>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>

* Update GitHub Actions workflows and dependencies (#2341)

* chore: Add GitHub Actions workflow for testing documentation build

* Fix server start command in GitHub Actions workflows

* chore: Bump langflow and langflow-base versions

* chore: Update GitHub Actions workflow for docs_test

* chore: Update typing import in __main__.py

* Fix user authentication and authorization issues (#2343)

---------

Co-authored-by: Rodrigo Nader <rodrigosilvanader@gmail.com>
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: ming luo <itestmycode@gmail.com>
Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
2024-06-25 09:20:55 -07:00
Gabriel Luiz Freitas Almeida
8eae0c5df7
deactivate stop button until we have a better solution (#2337) 2024-06-25 05:00:22 -07:00
anovazzi1
853f5483a3 format code 2024-06-24 22:03:58 +00:00
anovazzi1
dfd419e438 fix fetch data to work even with autologin true 2024-06-24 22:03:58 +00:00
Gabriel Luiz Freitas Almeida
af98504e4a
Fix Astra Component and Middleware (#2321)
* chore: update linting workflows to include dev branch in merge_group

* Update README.md

Add 1.0 banner

* Update README.md

* chore: update package versions in pyproject.toml files

* Refactor "created_at" column type for consistency and fix cancel middleware (#2316)

* chore: update linting workflows to include dev branch in merge_group

* Update README.md

Add 1.0 banner

* Update README.md

* chore: update package versions in pyproject.toml files

* refactor: update "created_at" column type to use the "sa" module for consistency

* Update README.md

Add 1.0 banner

* chore: Remove unused import in ToolCallingAgent.py

* fix: adapt RequestCancelledMiddleware to handle cancelled requests

* chore: Remove unused import in test_helper_components.py

* refactor: Declare queue variable with explicit type in RequestCancelledMiddleware

---------

Co-authored-by: Rodrigo Nader <rodrigosilvanader@gmail.com>

* chore: Update AstraDB.py imports and method signature for search_documents

* chore: Update package versions in pyproject.toml files

* chore: Update run-name in release.yml for Langflow Release

* fix: add call to _add_documents_to_vector_store in AstraDB component

* chore: Fix missing parentheses in RequestCancelledMiddleware

* chore: Update pydantic-settings and tenacity versions

The commit updates the versions of the `pydantic-settings` and `tenacity` packages in the `poetry.lock` file. The `pydantic-settings` version is updated from 2.3.3 to 2.3.4, and the `tenacity` version is updated from 8.4.1 to 8.4.2.

* Update README.md

Add 1.0 banner

---------

Co-authored-by: Rodrigo Nader <rodrigosilvanader@gmail.com>
2024-06-24 13:29:41 -07:00
Gabriel Luiz Freitas Almeida
5d8abaf66a Merge remote-tracking branch 'origin/main' into dev 2024-06-24 17:28:37 -03:00
Rodrigo Nader
7a6c957f35 Update README.md
Add 1.0 banner
2024-06-24 17:23:22 -03:00
Gabriel Luiz Freitas Almeida
c4d1427b3a chore: Update pydantic-settings and tenacity versions
The commit updates the versions of the `pydantic-settings` and `tenacity` packages in the `poetry.lock` file. The `pydantic-settings` version is updated from 2.3.3 to 2.3.4, and the `tenacity` version is updated from 8.4.1 to 8.4.2.
2024-06-24 17:22:29 -03:00
Gabriel Luiz Freitas Almeida
fcdaeb3b30 chore: Fix missing parentheses in RequestCancelledMiddleware 2024-06-24 17:22:01 -03:00
Gabriel Luiz Freitas Almeida
d85657f214
Refactor "created_at" column type for consistency and fix cancel middleware (#2316) (#2320)
* chore: update linting workflows to include dev branch in merge_group

* Update README.md

Add 1.0 banner

* Update README.md

* chore: update package versions in pyproject.toml files

* Refactor "created_at" column type for consistency and fix cancel middleware (#2316)

* chore: update linting workflows to include dev branch in merge_group

* Update README.md

Add 1.0 banner

* Update README.md

* chore: update package versions in pyproject.toml files

* refactor: update "created_at" column type to use the "sa" module for consistency

* Update README.md

Add 1.0 banner

* chore: Remove unused import in ToolCallingAgent.py

* fix: adapt RequestCancelledMiddleware to handle cancelled requests

* chore: Remove unused import in test_helper_components.py

* refactor: Declare queue variable with explicit type in RequestCancelledMiddleware

---------

Co-authored-by: Rodrigo Nader <rodrigosilvanader@gmail.com>

* chore: Update AstraDB.py imports and method signature for search_documents

* chore: Update package versions in pyproject.toml files

* chore: Update run-name in release.yml for Langflow Release

* fix: add call to _add_documents_to_vector_store in AstraDB component

---------

Co-authored-by: Rodrigo Nader <rodrigosilvanader@gmail.com>
2024-06-24 13:15:54 -07:00
Gabriel Luiz Freitas Almeida
b02462f092 fix: add call to _add_documents_to_vector_store in AstraDB component 2024-06-24 17:15:16 -03:00
Gabriel Luiz Freitas Almeida
f97c5be53b Merge branch 'main' into dev 2024-06-24 17:09:06 -03:00
Gabriel Luiz Freitas Almeida
c6ca57c723 chore: Update run-name in release.yml for Langflow Release 2024-06-24 17:08:02 -03:00
Gabriel Luiz Freitas Almeida
75fa498cac chore: Update package versions in pyproject.toml files 2024-06-24 17:07:35 -03:00
Gabriel Luiz Freitas Almeida
6b67c4996d chore: Update AstraDB.py imports and method signature for search_documents 2024-06-24 17:01:00 -03:00
Gabriel Luiz Freitas Almeida
77e23d9442
Refactor "created_at" column type for consistency and fix cancel middleware (#2316)
* chore: update linting workflows to include dev branch in merge_group

* Update README.md

Add 1.0 banner

* Update README.md

* chore: update package versions in pyproject.toml files

* refactor: update "created_at" column type to use the "sa" module for consistency

* Update README.md

Add 1.0 banner

* chore: Remove unused import in ToolCallingAgent.py

* fix: adapt RequestCancelledMiddleware to handle cancelled requests

* chore: Remove unused import in test_helper_components.py

* refactor: Declare queue variable with explicit type in RequestCancelledMiddleware

---------

Co-authored-by: Rodrigo Nader <rodrigosilvanader@gmail.com>
2024-06-24 12:39:49 -07:00
dependabot[bot]
1293a1ec4e chore(deps): bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 16:05:05 +00:00
Rodrigo Nader
378e92a67f
Update README.md 2024-06-24 12:38:53 -03:00
Rodrigo Nader
3de0962cd7
Update README.md 2024-06-24 12:37:55 -03:00
Rodrigo Nader
e81d15c4ef
Update README.md 2024-06-24 12:33:47 -03:00
Lucas Oliveira
c8fde3c789 Added image on introduction page and refactored title 2024-06-24 08:26:48 -07:00
Lucas Oliveira
c2d5a631dd Added and removed some outdated warnings 2024-06-24 08:26:48 -07:00
Lucas Oliveira
8e51ac6a41 Removed unused classname 2024-06-24 08:26:48 -07:00
Lucas Oliveira
44e2611294 Removed margin top from second level categories 2024-06-24 08:26:48 -07:00
Lucas Oliveira
dcb2900ba8 Removed margin from Notion category 2024-06-24 08:26:48 -07:00
Gabriel Luiz Freitas Almeida
75dbf1b39d chore: update package versions in pyproject.toml files 2024-06-24 07:41:40 -07:00
Rodrigo Nader
d0d883b9f0 Update README.md 2024-06-24 07:41:40 -07:00
Rodrigo Nader
9134c0932b Update README.md
Add 1.0 banner
2024-06-24 07:41:40 -07:00
Gabriel Luiz Freitas Almeida
2102c1d5f2 chore: update linting workflows to include dev branch in merge_group 2024-06-24 07:41:40 -07:00
Gabriel Luiz Freitas Almeida
bc334ca638
Merge branch 'main' into dev 2024-06-24 07:41:29 -07:00
Gabriel Luiz Freitas Almeida
546f856708 chore: update package versions in pyproject.toml files 2024-06-24 11:39:17 -03:00
Lucas Oliveira
1af961f1f7 Fixed starter flows 2024-06-24 07:38:40 -07:00
Lucas Oliveira
5ce681355d Added new text to the page A New Chapter for Langflow 2024-06-24 07:17:13 -07:00
Rodrigo Nader
73373016d9
Update README.md 2024-06-24 11:16:46 -03:00
Rodrigo Nader
71a9ee549b
Update README.md
Add 1.0 banner
2024-06-24 11:16:32 -03:00
Gabriel Luiz Freitas Almeida
c0624c4ad3 chore: update linting workflows to include dev branch in merge_group 2024-06-24 14:05:16 +00:00
Lucas Oliveira
1f0532a995 Fixed link errors 2024-06-24 06:49:41 -07:00
Lucas Oliveira
0bd768f92d Fixed broken link on docs 2024-06-24 06:49:41 -07:00
Lucas Oliveira
63b72e8c82 Fixed prompt customization to import Admonition 2024-06-24 06:36:34 -07:00
Gabriel Luiz Freitas Almeida
900e3f8006
Release Langflow 1.0 (#2303)
This PR releases Langflow 1.0 in the main branch and updates the
documentation.
2024-06-24 06:20:50 -07:00
Gabriel Luiz Freitas Almeida
24d9e86885 chore: update package versions in pyproject.toml files 2024-06-24 10:19:17 -03:00
Gabriel Luiz Freitas Almeida
a539c90c31 chore: fix types in Alembic migration script 2024-06-24 10:10:29 -03:00
Gabriel Luiz Freitas Almeida
ceaff46016 Merge remote-tracking branch 'origin/main' into dev 2024-06-24 10:09:44 -03:00
Gabriel Luiz Freitas Almeida
07cc7b31a1 chore: remove merge artifact 2024-06-24 06:08:28 -07:00
Gabriel Luiz Freitas Almeida
b3b68c3a38 Fixes Pinecone implementation (#1856)
* ⬆️ (pyproject.toml): upgrade langchain-pinecone dependency to version 0.1.0

* 📝 (Pinecone.py): Update Pinecone component to use new DistanceStrategy enum for distance calculation and improve configuration options for Pinecone vector store creation.

* ⬆️ (pyproject.toml): upgrade package version from 0.6.18 to 0.6.19
2024-06-24 06:08:28 -07:00
Gabriel Luiz Freitas Almeida
da63ee977e Fix bugs and make improvements (#1794)
* add ? to prevent bug when template has no value

* Refactor determine_component_name function in utils.py to use file name

* Bump version to 0.6.18 in pyproject.toml

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
2024-06-24 06:08:28 -07:00
Gabriel Luiz Freitas Almeida
4b72a7caa8 Fix unique constraints for id column and update API key creation (#1764)
* Update .gitignore to ignore additional files and directories

* Add migration to fix column types

* Bump version to 0.6.17 in pyproject.toml
2024-06-24 06:08:28 -07:00