Commit graph

8,751 commits

Author SHA1 Message Date
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
Lucas Oliveira
94d7f4a9cb Fixed table header displaying Title Case instead of normal 2024-06-13 18:22:16 -03:00
Lucas Oliveira
cf0e3eb4cd Fixed not being able to copy anywhere 2024-06-13 18:18:15 -03:00
Lucas Oliveira
229cfa123d Fixed error color and padding 2024-06-13 18:00:13 -03:00
Lucas Oliveira
82958878b8 Fixed grabbing to override children 2024-06-13 17:48:21 -03:00
cristhianzl
41fc846107 refactor: Update FoldersStoreType to use isLoadingFolders instead of loading 2024-06-13 17:46:14 -03:00
cristhianzl
33b3a9ee7e refactor: Update getFoldersApi to handle startup application and improve code readability 2024-06-13 17:46:06 -03:00
cristhianzl
9dd56b0412 refactor: Update MainPage component to remove unused code and improve folder deletion handling 2024-06-13 17:45:58 -03:00
cristhianzl
5462aeee3e refactor: Update useDeleteFolder hook to use refreshFolders instead of getFoldersApi 2024-06-13 17:45:50 -03:00
cristhianzl
6450b52c40 chore: Remove unused code in HeaderTabsSearchComponent 2024-06-13 17:45:41 -03:00
cristhianzl
a1cd3be237 feat: Add useFlowsManagerStore to LoginPage for managing loading state during login 2024-06-13 17:45:27 -03:00
cristhianzl
68201bb0d5 feat: Add setLoading to LoginAdminPage for displaying loading state during login 2024-06-13 17:45:16 -03:00
cristhianzl
e66286662e refactor: Improve duplicate request handling in checkDuplicateRequestAndStoreRequest function 2024-06-13 17:45:09 -03:00
cristhianzl
a49cd49eee refactor: Remove console.log statement in getMessagesTable function 2024-06-13 17:45:02 -03:00
cristhianzl
b9e1a3c0c5 fix: Handle duplicate requests in ApiInterceptor 2024-06-13 17:44:46 -03:00