Commit graph

106 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
75d1c83aae Merge branch 'zustand/io/migration' into globalVariables 2024-03-27 18:20:34 -03:00
Gabriel Luiz Freitas Almeida
660b62bc08 Add dependencies and update run_cli commands 2024-03-27 16:06:39 -03:00
Gabriel Luiz Freitas Almeida
f19c449f15
Add Frontend Tests (#1571)
* Add TypeScript test workflow

* Update follow-redirects and katex versions

* Add Python setup and Poetry installation for backend

* Update Poetry version and setup Python in workflows

* Add Poetry installation step to GitHub Actions workflow

* Add Playwright report artifact upload and improve test script

* Update Playwright test configuration and add global teardown script

* Update path for playwright-report directory

* Update timeout value in playwright.config.ts

* Update page URLs in end-to-end tests

* Update GitHub Actions workflow and Playwright configuration

* Update TypeScript test workflow

* Add pattern and merge-multiple options to artifact download

* Update TypeScript test workflow to install Poetry

* Add cache steps for Playwright and Poetry

* Update PLAYWRIGHT_BROWSERS_PATH in TypeScript test workflow

* Add 'stuff/' to .gitignore

* Remove caching of Poetry virtualenv

* Update frontend tests to use Playwright for UI testing

* Add global teardown for removing temp database

* Add cache-hit condition to setup-node and setup-python steps

* Add new file to .gitignore and update ignored files

* Update playwright cache key in TypeScript test workflow

* Update path for blob-report in GitHub workflow

* Update path for playwright cache

* Update dependency installation in workflows

* Update baseURL in playwright.config.ts

* Update baseURL in playwright.config.ts

* Refactor test timeouts

* Remove playwright-report index.html file

* Add npm run start command to playwright.config.ts

* Update npm start command in playwright.config.ts

* Update Playwright browser caching and installation

* Update playwright cache path

* Update playwright cache path

* Update actions/cache version to v4

* Update Playwright cache key to use package-lock.json

* Update Playwright cache and install dependencies

* Fix typo in Playwright installation command

* Fix npm ci command in TypeScript test workflow

* Update TypeScript test workflow
2024-03-27 14:27:40 -03:00
Gabriel Luiz Freitas Almeida
1434081801
Merge branch 'zustand/io/migration' into globalVariables 2024-03-27 00:10:18 -03:00
Gabriel Luiz Freitas Almeida
16e91a00de Update mypy configuration to include namespace packages 2024-03-26 21:24:17 -03:00
Gabriel Luiz Freitas Almeida
395f75f5bd Refactor Makefile to use conditional statements for environment variables 2024-03-26 20:57:27 -03:00
Gabriel Luiz Freitas Almeida
00322edda2 Refactor Makefile to include conditional statements for environment variables 2024-03-26 20:35:31 -03:00
Gabriel Luiz Freitas Almeida
0385cfbce1 Add setup_devcontainer target to Makefile 2024-03-26 20:34:36 -03:00
Gabriel Luiz Freitas Almeida
1e442a005f Add backend dependency installation to Makefile 2024-03-26 17:35:25 -03:00
Gabriel Luiz Freitas Almeida
975340af9e Add conditional logic for environment file in Makefile 2024-03-26 17:30:11 -03:00
Gabriel Luiz Freitas Almeida
9903c01c4c Update CLI run command to include environment file 2024-03-26 17:20:49 -03:00
Gabriel Luiz Freitas Almeida
d8ffcadfe2 Add parallel execution for locking dependencies in Makefile 2024-03-26 17:17:00 -03:00
Gabriel Luiz Freitas Almeida
60bc33dbec Update run_cli and run_cli_debug in Makefile 2024-03-26 16:43:50 -03:00
Gabriel Luiz Freitas Almeida
f60823a40a Update dependencies and install poetry-monorepo-dependency-plugin 2024-03-26 16:22:17 -03:00
Gabriel Luiz Freitas Almeida
d5f647fe4e Add setup_env.sh script to create .env file 2024-03-26 15:36:49 -03:00
Gabriel Luiz Freitas Almeida
201e902aef Update backend run command in Makefile 2024-03-26 10:12:44 -03:00
Gabriel Luiz Freitas Almeida
a9cd2f1054 Update backend installation process 2024-03-26 10:05:42 -03:00
Gabriel Luiz Freitas Almeida
a802534508 Update dependencies in Makefile and pyproject.toml 2024-03-26 09:33:26 -03:00
Matheus Jacques
8172e62236
Split Langflow into Langflow and Langflow Base (#1562)
* Initial Restructure

* Replace import langflow for import langflow_base

* Fix dependencies

* 🔧 chore(Makefile): refactor build process to separate base and frontend builds for better organization and maintainability

* 🚀 chore(Makefile): update build_frontend command to copy frontend build to the correct directory
🔖 chore(pyproject.toml): update python and httpx dependencies versions
🔧 chore(__init__.py): update import statement for load_flow_from_json function

* 🔖 chore(pyproject.toml): update package version from 0.0.6 to 0.0.8 to reflect changes in the codebase

* 🚀 feat(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics
🚀 feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port

* 🐛 fix(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics
 feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port
🚚 chore(pyproject.toml): update langflow-base version from 0.0.8 to 0.0.10
 feat(server.ts): add new agent component LCAgentComponent to langflow_base
 feat(server.ts): add new model component LCModelComponent to langflow_base
 feat(server.ts): add new helper functions docs_to_records and records_to_text to langflow_base
 feat(server.ts): add new flow helper functions list_flows, load_flow, run_flow, generate_function_for_flow, get_flow_inputs, build_schema_from_inputs to langflow_base
 feat(server.ts): add new prompt component PromptComponent to langflow_base
 feat(server.ts): add new chat components ChatInput and ChatOutput to langflow_base
 feat(server.ts): add new model component OpenAIModelComponent to langflow_base
🚚 chore(main.py): update import path from langflow.main to langflow_base.main
🚚 chore(service.py): update import path from langflow.services.database.manager to langflow_base.services.database.manager
🚚 chore(factory.py): update import path from langflow.services to langflow_base.services
🚚 chore(service.py): update import path from langflow.services.plugins to langflow_base.services.plugins
🚚 chore(utils.py): update import path from langflow.services to langflow_base.services
🚚 chore(validate.py): update import path from langflow.field_typing to langflow_base.field_typing
🚚 chore(pyproject.toml): update langflow-base version from 0.0.8 to 0.0.10

* Update Makefile to install backend dependencies and build langflow

* Add langflow main module and update __init__.py

* Update langflow install process to use implicit namespace

* Add langflow-base as a local dependency

* Add setup_poetry target to Makefile

* Update Poetry version and add poetry-monorepo-dependency-plugin

* Refactor code to improve performance and readability

* Update imports to custom and load

* Update content-hash in poetry.lock

---------

Co-authored-by: Matheus <jacquesmats@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-03-26 09:26:30 -03:00
Gabriel Luiz Freitas Almeida
0a0f98cbe2 Remove pre-commit hook and update Makefile 2024-02-26 16:28:26 -03:00
anovazzi1
5ca45e02b4 Add frontend tests to Makefile 2024-01-17 18:53:31 -03:00
Gabriel Luiz Freitas Almeida
599bf44f08 Add support for passing arguments to pytest 2023-12-14 10:00:53 -03:00
Gabriel Luiz Freitas Almeida
e3a2abacae Merge remote-tracking branch 'origin/dev' into merge 2023-12-12 15:45:53 -03:00
Gabriel Luiz Freitas Almeida
9e0d115161 Remove textmon because it breaks tests 2023-12-11 14:45:53 -03:00
Gabriel Luiz Freitas Almeida
3c4c743c4f Add testmon and instafail options to pytest 2023-12-11 12:27:52 -03:00
Gabriel Luiz Freitas Almeida
60f6d08fc3 Merge remote-tracking branch 'origin/dev' into feature/store 2023-11-14 21:41:58 -03:00
Gabriel Luiz Freitas Almeida
1e32526880 Update Makefile with formatting and linting
changes
2023-11-13 18:33:28 -03:00
Gabriel Luiz Freitas Almeida
6a1cbd93cc Update dependencies and formatting 2023-11-13 18:19:32 -03:00
Gabriel Luiz Freitas Almeida
79b12b8135
Revert "Release 0.5.6" 2023-11-06 23:18:49 -03:00
Gabriel Luiz Freitas Almeida
6f9a10e37f Merge remote-tracking branch 'origin/main' into v2 2023-11-06 23:09:49 -03:00
Gabriel Luiz Freitas Almeida
dcae14c21f 🔧 chore(Makefile): add debug log level and increase number of workers for backend execution to improve debugging and performance 2023-11-06 15:02:53 -03:00
Gabriel Luiz Freitas Almeida
a899d8a081 Merge remote-tracking branch 'origin/dev' into FileLoaders 2023-11-01 10:56:49 -03:00
Gabriel Luiz Freitas Almeida
01a1484e43 🐛 fix(Makefile): kill existing process running on port 3000 before starting frontend to prevent conflicts
🐛 fix(Makefile): kill existing process running on port 7860 before starting backend to prevent conflicts
2023-10-27 16:28:54 -03:00
Lucas Oliveira
42d56f70ed Revert "Merge branch 'release' into dev"
This reverts commit dd3f3d4ca8, reversing
changes made to 27bc4c5498.
2023-10-25 20:14:28 -03:00
Lucas Oliveira
dd3f3d4ca8 Merge branch 'release' into dev 2023-10-25 20:06:21 -03:00
Gabriel Luiz Freitas Almeida
976bbe509d 🔧 chore(Makefile): add 'make install_backend' command to the 'lint' target to ensure backend dependencies are installed before running checks 2023-10-25 16:03:16 -03:00
Gabriel Luiz Freitas Almeida
218788d5df 🔧 chore(Makefile): exclude alembic directory from ruff linting to avoid unnecessary errors
🔧 chore(Makefile): add exclusion of alembic directory from ruff linting to improve linting process
2023-10-19 10:59:44 -03:00
Gabriel Luiz Freitas Almeida
7b158c6ae6 📝 chore(.env.example): add LANGFLOW_STORE_URL variable to the example file for configuring the store URL
🐛 fix(Makefile): add --env-file .env option to the 'backend' target to load environment variables from .env file
2023-10-18 17:00:39 -03:00
anovazzi1
c8d231c331 update make file 2023-10-16 17:29:21 -03:00
anovazzi1
06c7328012 update makeFiles 2023-10-10 19:47:09 -03:00
Gabriel Luiz Freitas Almeida
6f1306887a 🔧 chore(Makefile): simplify frontend target by combining install_frontend and run_frontend commands
🐛 fix(Makefile): handle error in install_frontend command and attempt to fix it by running install_frontendc
🔧 chore(Makefile): simplify backend target by combining install_backend and run_backend commands
 feat(Makefile): add support for login flag to control autologin feature in backend command
2023-10-08 18:44:08 -03:00
Gabriel Luiz Freitas Almeida
c941099275 🐛 fix(Makefile): fix typo in make target name 'install_frontendc' to 'install_frontend' to resolve error during frontend installation
 feat(Makefile): add error handling to retry frontend installation if it fails to ensure successful installation
🐛 fix(Makefile): fix typo in make target name 'install_frontendc' to 'install_frontend' to resolve error during frontend installation
 feat(Makefile): add support for running backend with or without autologin based on the value of the 'autologin' variable
2023-10-08 17:50:14 -03:00
Gabriel Luiz Freitas Almeida
05c73d4664 🔧 chore(Makefile): remove unnecessary parallel test execution flag to simplify test command
🔧 chore(Makefile): remove unnecessary parallel test execution flag to simplify test command
🔧 chore(Makefile): remove unnecessary parallel test execution flag to simplify test command
2023-09-27 09:10:42 -03:00
DiogenesBR
7031ccd6fd Merge branch 'release' into FileLoaders 2023-09-26 21:00:01 +00:00
Gabriel Luiz Freitas Almeida
4a3dae5ed6 Merge remote-tracking branch 'origin/dev' into remove-jcloud 2023-09-26 11:24:15 -03:00
Deepankar Mahapatro
9d39946629 chore: remove lc-serve 2023-09-25 15:48:14 +05:30
Gabriel Luiz Freitas Almeida
b3febf25dd Merge remote-tracking branch 'origin/dev' into celery 2023-09-22 14:50:19 -03:00
Gabriel Luiz Freitas Almeida
78ecb4c341 Merge remote-tracking branch 'origin/dev' into celery 2023-09-22 12:53:05 -03:00
Gabriel Luiz Freitas Almeida
f6ea541477 🔧 chore(Makefile): update mypy command to exclude .venv folder and only check files in ./src/backend/langflow directory 2023-09-21 10:01:37 -03:00
Gabriel Luiz Freitas Almeida
2db9fa8ce8 🔧 chore(Makefile): add install_backend target to tests target to ensure backend dependencies are installed before running tests 2023-09-20 18:41:41 -03:00