Commit graph

12,810 commits

Author SHA1 Message Date
anovazzi1
71f3bfcf51 feat: convert non-object rows to array of objects in DataOutputComponent 2024-07-01 13:53:55 -03:00
anovazzi1
69a843aa66 code format 2024-07-01 13:53:55 -03:00
anovazzi1
ee9212e8ee chore: Update proxy IDs on group node outputs to ensure consistency 2024-07-01 13:53:55 -03:00
autofix-ci[bot]
e5b7477a90 [autofix.ci] apply automated fixes 2024-07-01 13:53:55 -03:00
igorrCarvalho
ad3c47b8fd fix: Tweaks tab dissapearing with hook component 2024-07-01 13:53:55 -03:00
anovazzi1
a008f8a3de format code 2024-07-01 13:53:55 -03:00
anovazzi1
5cbe19934e fix edit method on messages 2024-07-01 13:53:55 -03:00
autofix-ci[bot]
6def02d3d1 [autofix.ci] apply automated fixes 2024-07-01 13:53:55 -03:00
igorrCarvalho
87cf28e158 Refactor: enable node copy for multiple selection 2024-07-01 13:53:55 -03:00
igorrCarvalho
363ea8895e Fix: Ctrl + C not working on tooltips 2024-07-01 13:53:55 -03:00
Gabriel Luiz Freitas Almeida
37bf11f6a2 chore: Update branch checkout description in TypeScript test workflow 2024-07-01 13:53:55 -03:00
Lucas Oliveira
8be557b3c2 Formatted 2024-07-01 13:53:55 -03:00
Lucas Oliveira
3c53f1d27b Fixed status not being deleted when building the flows 2024-07-01 13:53:55 -03:00
italojohnny
9f2e608fcd fix delete messages 2024-07-01 13:53:55 -03:00
cristhianzl
43e44ab221 removing wrong code pushed 2024-07-01 13:53:55 -03:00
cristhianzl
3ecb223c87 fix: Remove unused code in textInputOutput.spec.ts
``
2024-07-01 13:53:55 -03:00
cristhianzl
e9032c9f11 test webhook 2024-07-01 13:53:55 -03:00
cristhianzl
227ad4f2e9 remove console.log 2024-07-01 13:53:55 -03:00
cristhianzl
33000de502 chore: Add branch input parameter to Frontend Tests workflow 2024-07-01 13:53:55 -03:00
cristhianzl
a479223967 added rerun tests 2024-07-01 13:53:55 -03:00
cristhianzl
6568f910a9 🐛 (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-07-01 13:53:55 -03:00
italojohnny
a44bff3867 update blueprint render 2024-07-01 13:53:55 -03:00
italojohnny
79774218d9 update dockerfile 2024-07-01 13:53:55 -03:00
autofix-ci[bot]
70e9f06834 [autofix.ci] apply automated fixes 2024-07-01 13:53:55 -03:00
Rodrigo
093fa018f1 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-07-01 13:53:55 -03:00
anovazzi1
d5f034e667 Format code 2024-07-01 13:53:55 -03:00
igorrCarvalho
57623be595 Feat: add more types 2024-07-01 13:53:55 -03:00
cristhianzl
c8377e9909 ♻️ (frontend): remove console.log statements from various components 2024-07-01 13:53:55 -03:00
cristhianzl
5d58e796d4 add tests improvements 2024-07-01 13:53:55 -03:00
Gabriel Luiz Freitas Almeida
b19264506c chore: Add inputs parameter to end method in BaseTracer 2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
a180e9e7c4 chore: Update LangSmithTracer constructor parameter type to UUID 2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
293adb0417 🐛 (custom_component.py): fix issue where name was not being set correctly when name is None and self.display_name is True 2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
08b2322a73 ♻️ (base.py): Refactor add_trace and end_trace methods to use Union type for optional arguments to improve code readability and type safety 2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
e94d8254fb 📝 (base.py): add abstract method __init__ to BaseTracer class with required parameters to enforce implementation in subclasses 2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
f8ace79af3 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-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
67a34ffcb8 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-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
089ad6695c chore: Update LangSmithTracer import in tracing service 2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
2efaa2804a refactor: Update LangSmithTracer to use convert_to_langchain_types from utils.py 2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
d7008f7662 refactor: Remove unused methods and abstract class from BaseTracer 2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
3ba8a19545 refactor: Update logs to outputs in CustomComponent and TracingService classes 2024-07-01 13:53:39 -03:00
italojohnny
b99f292f1c create an abstract class for an existing class 2024-07-01 13:53:39 -03:00
dependabot[bot]
699d66037e Bump braces from 3.0.2 to 3.0.3 in /scripts/aws
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
d6998bc9ce 🔧 (typescript_test.yml): Add step to get Playwright version and cache Playwright binaries based on the version for better dependency management
🔧 (typescript_test.yml): Update job name to "Run Playwright Tests" for clarity and consistency
🔧 (typescript_test.yml): Remove unnecessary 'ref' input from 'actions/checkout' step
2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
9fb0e929e1 ⬆️ (typescript_test.yml): upgrade Poetry version from 1.8.2 to 1.8.3 for testing purposes 2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
9d8da1be69 🔧 (typescript_test.yml): update workflow trigger from workflow_dispatch to pull_request and merge_group to improve workflow automation and efficiency 2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
8c0f5ff422 Merge main into dev (#2400)
* 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)

* chore: Update authContext imports and remove duplicate imports

* Refactor telemetry service payload field names for consistency

* chore: Update package versions in pyproject.toml files

* chore: Update release.yml to use the correct branch for the commit

* added firecrawl integration

* chore: Rename Kubernetes documentation file to use .md extension

* components: simplify astra vectorize

* components: simplify astra vectorize

* Cassandra: support for non-AstraDB databases

* chore: Add GitHub workflows for JavaScript and Python autofix

This commit adds GitHub workflows for JavaScript and Python autofix. The JavaScript workflow is triggered on pull requests and pushes to the main branch, specifically for changes in the "src/frontend" directory. It checks out the code, sets up Node.js, caches Node.js dependencies, installs Node.js dependencies, and runs Prettier for code formatting. The Python workflow is also triggered on pull requests and pushes to the main branch, but for changes in the "poetry.lock", "pyproject.toml", "src/backend", and "tests" directories. It checks out the code, installs Ruff, and runs Mypy for type checking and code formatting.

* chore: Update GitHub workflow to run Ruff Check

* ci: always run required checks (#2395)

---------

Co-authored-by: Rodrigo Nader <rodrigosilvanader@gmail.com>
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: rafaelsideguide <150964962+rafaelsideguide@users.noreply.github.com>
Co-authored-by: Nicolò Boschi <boschi1997@gmail.com>
2024-07-01 13:53:39 -03:00
Gabriel Luiz Freitas Almeida
7d8fefa562 Update dockerfiles and docker-build.yml (#2389)
* chore: Update docker-build.yml to disable pre-release by default

* chore: Update Dockerfiles to set LANGFLOW_HOST and LANGFLOW_PORT

The Dockerfiles have been updated to set the environment variables LANGFLOW_HOST and LANGFLOW_PORT. This ensures that the correct host and port are used when running the langflow application.

* 🔧 (build_and_push_backend.Dockerfile): remove unnecessary host and port configuration to simplify the Dockerfile and focus on backend-only functionality

* chore: Update LANGFLOW_CONFIG_DIR in docker-compose.yml

The LANGFLOW_CONFIG_DIR environment variable in docker-compose.yml has been updated to /app/langflow. This change ensures that the correct directory is used for storing logs, file storage, monitor data, and secret keys.
2024-07-01 13:53:39 -03:00
cristhianzl
aa6618f973 fix tests on store 2024-07-01 13:53:39 -03:00
cristhianzl
b005f631bc 🔧 (tsconfig.json): rename curl_api_generation.spec.ts to curlApiGeneration.spec.ts for consistency 2024-07-01 13:53:39 -03:00
cristhianzl
5875754472 (tests): add end-to-end test for cURL API generation in curlApiGeneration.spec.ts 2024-07-01 13:53:38 -03:00