Commit graph

8,765 commits

Author SHA1 Message Date
Nicolò Boschi
5a41224560 fix: do not open browser on backend_only mode 2024-06-19 08:47:42 -07:00
Nicolò Boschi
e45737aaaa fix: graph process should raise the actual error when failing 2024-06-19 08:46:09 -07:00
Nicolò Boschi
da6bfc2ec1
fix: got unexpected 'lock' (#2228) 2024-06-19 17:15:23 +02:00
Nicolò Boschi
47e63d1d02
fix: graph could re-run input vertices twice and override the input value (#2219) 2024-06-19 14:47:39 +02:00
mmdsnb
f18ca3d8a1 BUG FIX 2152
When the cache expires, deleting the key from the cache will attempt to acquire a lock, which is not reentrant at this point, leading to suspension.
2024-06-19 05:08:32 -07:00
ming
8ccb9e7597
Fix mypy (#2204)
* mypy github action

* fix endpoints.py mypy lint

* directly run poetry run mypy

* line based mypy error suppression

* switch to use make lint

* fix ruff issues

* fix EmbedComponent lint

* fix prompt.py's lint
2024-06-18 13:52:54 -04:00
ogabrielluiz
45c2f8a9b6 chore: Update langchain-core and langflow-base versions to 0.2.8 and 0.0.72 respectively 2024-06-17 21:14:54 -03:00
ogabrielluiz
dbd9c54012 📝 (auth.py): refactor code to handle secret key value properly and improve readability 2024-06-17 21:08:34 -03:00
ogabrielluiz
277f0dd50d chore: Update package versions in pyproject.toml files 2024-06-17 18:51:07 -03:00
ogabrielluiz
c2f6ce86dc fix: only accept json for folder upload 2024-06-17 18:37:59 -03:00
ogabrielluiz
27cb5ac238 chore: Update JWT decoding error handling in get_current_user_by_jwt function 2024-06-17 18:20:45 -03:00
ming
4af08e0dc8
remove the default logging use loguru (#2198) 2024-06-17 14:16:07 -07:00
ogabrielluiz
d8d20d7aa5 fix: Add type checking import 2024-06-17 12:17:59 -03:00
Igor Carvalho
30eacad94a
General fixes related to shortcuts icons (#2179)
* Fix: center command icon for macOS

* Fix: Add visual shortcut to undo and redo

* code format

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
2024-06-17 09:16:53 -03:00
Jordan Frazier
ca660cf8df
test: add astra integration test (#2189)
* add first astra integ test framework

* use fixtures

* remove old tests from merge

* Add correct sender type

* chore: Update unit test command in GitHub workflow

---------

Co-authored-by: ogabrielluiz <gabriel@langflow.org>
2024-06-15 19:50:38 -07:00
ogabrielluiz
40cebd1bcf chore: Update package versions to latest in pyproject.toml files 2024-06-15 11:09:16 -03:00
Madhavan
9bdd353666
Minor documentation update and exception message fix to avoid confusion with Google Vertex (#2088)
* Update to use non-deprecated output parser imports

* Update documentation

* Revert "Update to use non-deprecated output parser imports"

This reverts commit 11a969d82b6b2b3659eb7c3c26b5b29a98815834.

* Update rag-with-astradb.mdx

* Update chat.py to clarify error message

vertex in the exception message appears to be confusing with google vertex and causes confusion when used with other providers.

* Minor formatting to highlight the vscode launch file
update the error message

* Fix a couple more error texts
2024-06-15 07:06:07 -07:00
Gabriel Luiz Freitas Almeida
81bb749ea8
feat: Add cache parameter to RunnableVerticesManager (#2181)
This commit adds a new optional `cache` parameter to the `RunnableVerticesManager` class in the `runnable_vertices_manager.py` file. The `cache` parameter allows controlling whether the graph data should be cached or not when retrieving the next runnable vertices for a given vertex. If `cache` is set to `True`, the graph data will be cached using the `set_cache_coro` function. If `cache` is set to `False`, the graph data will not be cached.

This change was made to provide more flexibility in managing the caching behavior of the graph data.

Ref: #2180
2024-06-15 07:04:00 -07:00
Gabriel Luiz Freitas Almeida
57403d7b65
Update Prettier and add trailing comma (#2187)
* chore: Update prettier-plugin-tailwindcss to version 0.6.4

* Add trailing comma
2024-06-15 06:53:45 -07:00
Nick Roth
71de94f65e
Support returning sub flow outputs (#2177)
Add support for returning outputs from running flow as records
2024-06-15 06:39:40 -07:00
Gabriel Luiz Freitas Almeida
dfc008b383
Update dependencies and fix docs (#2186)
* chore: Update chardet package to version 5.2.0

* chore: Update Docker build workflow to support multiple platforms and add container testing

* chore: Update pre-release workflow to include CLI testing

* chore: Update npm install command in lint-js.yml workflow

* chore: Update eslint and prettier versions in package.json

* fix: remove .mdx from link in docs

* Merge remote-tracking branch 'origin/dev' into update
2024-06-15 06:37:34 -07:00
Gabriel Luiz Freitas Almeida
5191638f8e
Update dependencies and workflows (#2185) 2024-06-15 06:02:08 -07:00
ogabrielluiz
47ea958441 chore: Update package versions in pyproject.toml files 2024-06-14 22:46:57 -03:00
Gabriel Luiz Freitas Almeida
c53901f7ef
Refactor endpoints.py to improve code handling and remove caching (#2180)
* chore: Refactor CustomComponent to improve repr_value handling

* ♻️ (endpoints.py): Refactor the simplified_run_flow and webhook_run_flow functions to remove caching

* Refactor endpoints.py to remove caching and update tests
2024-06-14 18:39:44 -07:00
Lucas Oliveira
6a3e4817ed Fixed badges exhibition and genericModal footer 2024-06-14 19:05:32 -03:00
Lucas Oliveira
fd39e4bd6f Refactored Logs header 2024-06-14 19:05:32 -03:00
Igor Carvalho
e265ee6c23
Refactor: Remove blue border when agGrid input are focused (#2178) 2024-06-14 18:21:36 -03:00
Lucas Oliveira
55fdebe3bb Fixed ShadTooltip appearing when Accordion is not disabled 2024-06-14 18:19:13 -03:00
Lucas Oliveira
50e44c674b Fixed BaseModal text padding 2024-06-14 18:08:31 -03:00
Lucas Oliveira
1715898593 Fixed prompt modal oveflow 2024-06-14 17:47:49 -03:00
cristhianzl
d8b72fd158 merge fix 2024-06-14 16:39:20 -03:00
cristhianzl
66b7189c31 (tests): add zoom actions to end-to-end tests for better view control
 (tests): update locators in chatInputOutput.spec.ts for element accuracy
 (tests): import dotenv and path in end-to-end tests for environment config
 (tests): add control-click actions in group.spec.ts for multi-select testing
 (tests): update text assertions in logs.spec.ts for consistency with UI changes
2024-06-14 16:38:15 -03:00
cristhianzl
2ca258e31a ♻️ (tableComponent): remove unnecessary comma and autoHeight property
 (ShortcutsPage): add conditional rendering for TableComponent to handle empty data
2024-06-14 15:48:52 -03:00
cristhianzl
a7ea080c88 Merge branch 'dev' of https://github.com/langflow-ai/langflow into dev 2024-06-14 15:28:00 -03:00
Lucas Oliveira
b0eed97964 Merge remote-tracking branch 'origin/dev' into fix/dev_bugs 2024-06-14 15:20:46 -03:00
cristhianzl
30cd13a7da ♻️ (tableComponent): remove toTitleCase utility function to simplify headerName assignment
💡 (utils.ts): remove unnecessary commas and improve code readability
2024-06-14 14:30:32 -03:00
Ítalo Johnny
5353d2375a
Sentry integration (#2172)
* add sentry sdk to dependencies

* add sentry attributes to settings

* initialize sentry for error tracking

* add sentry sdk to base dependencies
2024-06-14 10:01:24 -07:00
Gabriel Luiz Freitas Almeida
9daf66993f
Refactor CustomComponent repr_value handling (#2173)
* Refactor CustomComponent to handle repr_value more efficiently
2024-06-14 09:48:35 -07:00
cristhianzl
3ea0c7b03a ♻️ (tableComponent): disable row animations to improve performance
♻️ (flowLogsModal): use useMemo for TableComponent to optimize rendering
2024-06-14 13:40:35 -03:00
Cristhian Zanforlin Lousa
f520e0bf77
Fix error on React Flow with Auto Login = False (#2164)
This pull request addresses several improvements and fixes to enhance
the overall functionality and user experience. The key changes include:

- Improved Folders Behavior Context

- Enhanced Duplicate Request Blocker

- Bug Fix: Folders Compatibility with AutoLogin = False
2024-06-14 13:23:39 -03:00
cristhianzl
71e8aa00cf 🐛 (utils.ts): add optional chaining to base_classes to prevent runtime errors 2024-06-14 13:23:03 -03:00
Lucas Oliveira
58e0561d4a Merge remote-tracking branch 'origin/dev' into fix/dev_bugs 2024-06-14 13:22:14 -03:00
cristhianzl
57a7b2baab ♻️ (use-delete-folder.tsx): remove unused refreshFolders variable to clean up code 2024-06-14 09:45:53 -03:00
cristhianzl
705311982c formatting files 2024-06-14 09:40:48 -03:00
cristhianzl
ec1a0fafe5 ♻️ (use-delete-folder.tsx): replace refreshFolders with getFoldersApi for better API call management 2024-06-14 09:34:59 -03:00
ogabrielluiz
df634de53f chore: Improve error handling and logging in get_current_user_by_jwt function 2024-06-14 08:55:33 -03:00
ogabrielluiz
a7e83baa35 chore: Bump langchain and langchain-core versions to 0.2.4 and 0.2.6 respectively 2024-06-14 08:53:15 -03:00
ogabrielluiz
38c721f387 chore: Bump version of langflow and langflow-base packages 2024-06-14 08:39:42 -03:00
Gabriel Luiz Freitas Almeida
5300b9cc08
Improve error handling and logging in get_current_user_by_jwt function (#2165)
chore: Improve error handling and logging in get_current_user_by_jwt function
2024-06-14 04:24:52 -07:00
ogabrielluiz
d921865e45 chore: Update dependencies to latest versions 2024-06-13 18:33:48 -03:00