Skip to content

Commit

Permalink
Fix Astra Component and Middleware (#2321)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* 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 <[email protected]>
  • Loading branch information
ogabrielluiz and rodrigosnader authored Jun 24, 2024
1 parent d85657f commit af98504
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 36 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ Alternatively, click the **"Open in Cloud Shell"** button below to launch Google

Use this template to deploy Langflow 1.0 on Railway:


[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/JMXEWp?referralCode=MnPSdg)

## Deploy on Render
Expand Down
53 changes: 27 additions & 26 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langflow"
version = "1.0.2"
version = "1.0.3"
description = "A Python package with a built-in web application"
authors = ["Langflow <[email protected]>"]
maintainers = [
Expand Down
2 changes: 1 addition & 1 deletion src/backend/base/langflow/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async def dispatch(self, request: Request, call_next):
async def message_poller(sentinel, handler_task, request):
nonlocal queue
while True:
message = await request.receive
message = await request.receive()
if message["type"] == "http.disconnect":
handler_task.cancel()
return sentinel # Break the loop
Expand Down
12 changes: 6 additions & 6 deletions src/backend/base/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/backend/base/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langflow-base"
version = "0.0.78"
version = "0.0.79"
description = "A Python package with a built-in web application"
authors = ["Langflow <[email protected]>"]
maintainers = [
Expand Down

0 comments on commit af98504

Please sign in to comment.