Commit graph

10,189 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
cf403220dc Refactor update_poetry.sh script to install pipx and poetry dependencies 2024-05-02 17:07:58 -03:00
Gabriel Luiz Freitas Almeida
5c2caf23c8 Refactor pre-commit installation in Makefile 2024-05-02 17:07:52 -03:00
Gabriel Luiz Freitas Almeida
89595d4a14 Update pre-commit-config.yaml and Makefile 2024-05-02 17:07:23 -03:00
Gabriel Luiz Freitas Almeida
2eb2f3bec6 Add pre-commit hooks for eslint and ruff (#1817) 2024-05-02 17:02:06 -03:00
Gabriel Luiz Freitas Almeida
a3484ed239 Refactor store_message function and add Simple Git Hooks (#1817) 2024-05-02 17:01:39 -03:00
Rodrigo Nader
2785a8bc3a
Refactor store_message function and add StoreMessageComponent (#1817)
* Refactor store_message function in chat.py and memory.py

* Refactor store_message function in chat.py and memory.py

* Add StoreMessageComponent to langflow components

* Refactor store_message function in chat.py and memory.py to require session_id, sender, and sender_name

* Refactor StoreMessageComponent to use Optional[str] for sender_name and session_id parameters

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-05-02 14:29:54 -03:00
Rodrigo Nader
08797ee592 Refactor TextOperatorComponent in TextOperator.py to improve code readability and maintainability 2024-05-01 22:37:26 -03:00
dependabot[bot]
48c740623d
Bump actions/upload-artifact from 2 to 4 (#1812)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 12:34:50 -03:00
dependabot[bot]
36c92e133f
Bump actions/download-artifact from 2 to 4 (#1811)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 12:34:40 -03:00
dependabot[bot]
0f37569c87
Bump actions/setup-node from 3 to 4 (#1810)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 12:34:29 -03:00
dependabot[bot]
46a5b882f8
Bump peaceiris/actions-gh-pages from 3 to 4 (#1813)
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 12:34:05 -03:00
Gabriel Luiz Freitas Almeida
f9f1d9ba14 Bump version to 1.0.0a30 in pyproject.toml 2024-05-01 11:34:33 -03:00
Sam Arbid
5d0b6aa65c
Docs: Correct Formatting and Syntax (#1803)
docs: fix typo
2024-04-30 18:36:03 -03:00
Gabriel Luiz Freitas Almeida
95813de618
Fixes State management and first implementation of vertex inactivation (#1805)
* Refactor RoutingVertex class in types.py to include a new step in the steps list

* Refactor Graph class to update run_manager.run_predecessors when activating vertices

* Refactor ShouldRunNextComponent class in ShouldRunNext.py to improve error handling and readability

* Refactor error handling in get_lifespan function in main.py and fix mismatch between models and database in DatabaseService class in service.py

* Fix vertex inactivation

* Fix inactivation of vertices and update buildUtils

* Refactor ShouldRunNextComponent class to improve error handling and readability

* Refactor langflow.graph.vertex.types imports in base.py

* Fix nullable constraint in langflow migration script

* Fix condition check in ShouldRunNextComponent class

* Refactor build_graph_maps function in base.py to accept optional parameters for edges and vertices

* Apply grayscale effect to ring-muted-foreground in applies.css

* Apply grayscale effect to ring-muted-foreground in applies.css
2024-04-30 16:33:53 -03:00
Lucas Oliveira
ee6aa0c6dd
Fixed glitches that don't affect usability (#1800)
* Fixed bug of main page showing Empty page before showing components

* Added timeout to generic icon lazy loading

* Create an abort signal for the program to not fetch twice at the beginning

* Removed global variables functionality at tweaks
2024-04-30 16:33:30 -03:00
Sam Arbid
b097efe94b
Docs: Clearing Cache to Resolve Setup Errors (#1802)
docs: how to clear cache on error

* Detailed description found here <https://github.com/langflow-ai/langflow/issues/1783>
2024-04-30 09:51:09 -03:00
Mendon Kissling
cc70a11572
[Docs] - Refactor folders and leftnav (#1781)
* refactor-leftnav

* bump-whats-new

* comment-out-some-tutorials

* links

* guidelines

* comma

* starter-projects

* try-links

* add-new-component-location
2024-04-30 09:28:59 -03:00
Steve Becht
a812b6ce48
docker-compose: remove trailing comma (#1796) 2024-04-30 09:27:19 -03:00
Gabriel Luiz Freitas Almeida
3978d98845
Fix nullable column in apikey table (#1801)
* Fix nullable column in apikey table

* Update package versions in pyproject.toml and poetry.lock
2024-04-30 09:26:21 -03:00
Gabriel Luiz Freitas Almeida
c6b4101d69
Update Docker image references to langflowai in GitHub workflows and Docker Compose files (#1793)
* Update Docker image references to langflowai in GitHub workflows and Docker Compose files
2024-04-29 13:38:18 -03:00
Gabriel Luiz Freitas Almeida
350a62d032 Update package versions in pyproject.toml and poetry.lock 2024-04-29 11:28:47 -03:00
Gabriel Luiz Freitas Almeida
3f07a39f5b
Fix created_at field type in Variable and ApiKey models (#1792)
* Fix created_at field type in Variable model

* Fix created_at field type in ApiKey model

* Fix error handling in add_row_to_table function

#1790

* Apply type hinting to nest_asyncio import in load.py
2024-04-29 11:26:45 -03:00
anovazzi1
736ce22546
Add ExportModal component to ShareModal (#1789)
* Add ExportModal component to ShareModal

* Refactor ShareModal component to conditionally render ExportModal and Export button based on is_component flag
2024-04-29 11:22:57 -03:00
Gabriel Luiz Freitas Almeida
8f46ea04ef Update package versions in pyproject.toml and poetry.lock 2024-04-27 18:24:25 -03:00
Rodrigo Nader
02b68daea1
Apply nest_asyncio to enable asyncio event loop nesting in process.py (#1784)
* Apply nest_asyncio to enable asyncio event loop nesting in process.py

* Apply nest_asyncio to enable asyncio event loop nesting in load.py

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-04-27 18:22:16 -03:00
Rodrigo Nader
082c02ff18 Add CombineTextsUnsortedComponent to langflow components 2024-04-27 16:39:08 -03:00
Mendon Kissling
6a06af1cb2
[Docs] - Intro, Install, Quickstart workflow (#1765)
* Modified the general Getting Started flow to be clearer and faster.
2024-04-26 10:49:39 -04:00
Mendon Kissling
ca16afebf7 cleanup-learn-more 2024-04-26 10:46:25 -04:00
Mendon Kissling
eba12a4d9f title-case-and-sidebars 2024-04-26 10:33:13 -04:00
Mendon Kissling
62000ad3f3 pre 2024-04-26 10:16:14 -04:00
Mendon Kissling
0b05c8df00 starter-flows-in-sidebar 2024-04-26 10:12:51 -04:00
Mendon Kissling
9370972e4e Merge branch 'dev' into introduction-quickstart-install 2024-04-26 10:05:37 -04:00
Mendon Kissling
ffde79fd5f qa-and-memory-content 2024-04-26 10:05:30 -04:00
Gabriel Luiz Freitas Almeida
45552803d1
Update type annotations in TweaksRequest and Tweaks classes (#1779)
* Update type annotations in TweaksRequest and Tweaks classes

* Merge remote-tracking branch 'origin/dev' into 1776_fix_tweaks
2024-04-26 10:47:30 -03:00
Mendon Kissling
226e3a131e Merge branch 'dev' into introduction-quickstart-install 2024-04-26 09:45:42 -04:00
Mendon Kissling
3c8dc0388a Merge branch 'dev' into introduction-quickstart-install 2024-04-26 09:43:17 -04:00
Mendon Kissling
6219426a43
[Docs] - Blog Writer (#1763)
* Docs for Blog writer starter flow
* Run in HF Spaces v1.0.0a17
2024-04-26 09:41:58 -04:00
Mendon Kissling
96a96d9701
[Docs] - Document QA (#1759)
* Docs for Document QA starter flow
* Run in HF Spaces v1.0.0a17
2024-04-26 09:39:59 -04:00
Mendon Kissling
fa44e09d60 add-pre 2024-04-26 09:32:08 -04:00
Mendon Kissling
7b6e34e0fd
[Docs] - Memory Chatbot (#1757)
* Docs for memory chatbot starter flow
* Run in HF Spaces v1.0.0a17
2024-04-26 09:30:42 -04:00
Mendon Kissling
d05c75a3c7
[Docs] - Basic prompting (#1712)
* Add basic 4-component prompting flow
2024-04-26 09:26:48 -04:00
Mendon Kissling
93869c5c8f paste 2024-04-26 09:13:20 -04:00
Mendon Kissling
841df3a4b7 duplicate 2024-04-26 09:11:00 -04:00
Mendon Kissling
1ff677d866 add-pre 2024-04-26 09:06:29 -04:00
Mendon Kissling
2a7cfe5dab add-pre 2024-04-26 09:05:59 -04:00
Mendon Kissling
8b7bcbba5c add-pre 2024-04-26 09:05:19 -04:00
Gabriel Luiz Freitas Almeida
a388e6dd42 Update version in pyproject.toml to 1.0.0a26 2024-04-24 09:18:31 -03:00
Gabriel Luiz Freitas Almeida
5ee638f984 🔧 (.github/workflows/pre-release-langflow.yml): add actions/checkout step to checkout the code before running the job 2024-04-24 09:11:52 -03:00
Gabriel Luiz Freitas Almeida
fe67f84d56 Update package versions in pyproject.toml files 2024-04-23 23:19:26 -03:00
Gabriel Luiz Freitas Almeida
82926cda65 Update kwargs parameter name in MemoryComponent.py to 'limit' instead of 'n_messages' 2024-04-23 23:13:19 -03:00