Commit graph

12,703 commits

Author SHA1 Message Date
anovazzi1
182d9e1951
update share modal style (#2361)
Refactor component to use a div instead of a span for better styling and layout

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-26 15:47:49 -07:00
Ítalo Johnny
5d06cf7115
Fix Image Display Issue on Windows by Setting a Static Path (#2382)
change string path
2024-06-26 15:41:29 -07:00
anovazzi1
d0a930e944
update message structure in frontend (#2388)
* update messages structure to new structure without index

* style: run prettier

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2024-06-26 15:34:31 -07:00
Gabriel Luiz Freitas Almeida
a81f686c39
Add JSON Mode option to OpenAIModelComponent (#2386)
* feat: Add JSON Mode option to OpenAIModelComponent

* ♻️ (OpenAIModel.py): add type ignore comment

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-26 15:02:32 -07:00
Gabriel Luiz Freitas Almeida
2094b6b10a
Merge branch 'main' into dev (#2384)
Merges changes from main to the dev branch.
2024-06-26 15:00:53 -07:00
github-actions[bot]
6bde501b8e
Merge branch 'dev' into merge_main 2024-06-26 21:59:55 +00:00
Gabriel Luiz Freitas Almeida
755a30a260
fix: Refactor RunnableVerticesManager to consider inactivated vertices in is_vertex_runnable and find_runnable_predecessors_for_successors (#2378)
Fixes an error where inactivated components would be considered
runnable.
2024-06-26 14:59:44 -07:00
github-actions[bot]
a2a5351a4b
Merge branch 'dev' into verify_stop_flow 2024-06-26 21:55:05 +00:00
github-actions[bot]
45329c310e
Merge branch 'dev' into merge_main 2024-06-26 21:55:04 +00:00
Gabriel Luiz Freitas Almeida
1a01942520
chore: make calls to end_all_traces run concurrently (#2387)
This PR makes so that end_all_traces does not block execution.
2024-06-26 21:47:56 +00:00
Gabriel Luiz Freitas Almeida
0c2251baf5 chore: makes sure end_all_traces run concurrently 2024-06-26 18:10:53 -03:00
Gabriel Luiz Freitas Almeida
4a6d661d1e chore: update lock 2024-06-26 16:52:19 -03:00
Gabriel Luiz Freitas Almeida
79a4cce9a4 chore: Set default value for ttl_seconds to None in CassandraVectorStoreComponent 2024-06-26 16:51:33 -03:00
Gabriel Luiz Freitas Almeida
a4953c6f4f chore: Import firecrawl integration package in FirecrawlCrawlApi and FirecrawlScrapeApi
This commit imports the firecrawl integration package in the FirecrawlCrawlApi and FirecrawlScrapeApi files. It ensures that the package is available for use in the code. If the package is not installed, an ImportError is raised with instructions to install it using `pip install firecrawl-py`.
2024-06-26 16:51:25 -03:00
autofix-ci[bot]
92edf1aad2
[autofix.ci] apply automated fixes (attempt 2/3) 2024-06-26 19:31:25 +00:00
autofix-ci[bot]
7bd03336bf
[autofix.ci] apply automated fixes 2024-06-26 19:29:41 +00:00
Gabriel Luiz Freitas Almeida
68c4485770 Merge branch 'main' into dev 2024-06-26 16:28:45 -03:00
github-actions[bot]
bf5d4e9c46
Merge branch 'dev' into verify_stop_flow 2024-06-26 18:52:40 +00:00
anovazzi1
a471c671d7
Fix flow settings validation and save button (#2360)
This pull request fixes the validation and save button behavior in the
flow settings modal. Previously, the save button was not disabled when
it should have been, and the endpoint name validation was not working
correctly. This PR updates the validation logic and ensures that the
save button is disabled when necessary.
2024-06-26 18:45:03 +00:00
anovazzi1
c6afb0f999
Merge branch 'dev' into fixFlowSettings 2024-06-26 15:38:04 -03:00
github-actions[bot]
a088363260
Merge branch 'dev' into verify_stop_flow 2024-06-26 16:06:27 +00:00
Gabriel Luiz Freitas Almeida
fde56d107a
chore: Add auto-update workflow (#2376)
The auto-update workflow has been added to the repository. This workflow
will automatically trigger on pushes to the `dev` and `main` branches.
It runs on the latest version of Ubuntu and uses the
`tibdex/auto-update@v2` action to perform the auto-update process.
2024-06-26 09:06:17 -07:00
Gabriel Luiz Freitas Almeida
8a82e38c9b Refactor Graph class to consider inactivated vertices in is_vertex_runnable and find_runnable_predecessors_for_successors 2024-06-26 11:00:29 -03:00
Gabriel Luiz Freitas Almeida
aa48fa5f6b chore: Refactor RunnableVerticesManager to consider inactivated vertices in is_vertex_runnable and find_runnable_predecessors_for_successors 2024-06-26 10:57:04 -03:00
Gabriel Luiz Freitas Almeida
128a049fba
Merge branch 'dev' into add_auto_update 2024-06-26 06:00:38 -07:00
Gabriel Luiz Freitas Almeida
6dcdc73d5a
Rename Kubernetes deployment file to .md extension (#2374)
This pull request renames the Kubernetes deployment file to have a .md
extension instead of the previous extension. This change is made to
improve the readability and clarity of the file. No other changes are
made in this pull request.
2024-06-26 05:13:36 -07:00
Gabriel Luiz Freitas Almeida
280a49fbef chore: Rename Kubernetes deployment file to .md extension 2024-06-26 09:12:39 -03:00
Gabriel Luiz Freitas Almeida
3f8c244f27 chore: Add auto-update workflow
The auto-update workflow has been added to the repository. This workflow will automatically trigger on pushes to the `dev` and `main` branches. It runs on the latest version of Ubuntu and uses the `tibdex/auto-update@v2` action to perform the auto-update process.
2024-06-26 09:01:19 -03:00
Gabriel Luiz Freitas Almeida
383a98082d
Fix vertex_id assignment for group flows (#2362)
Vertex Id was not being set correctly when sorting group nodes. Now it
should be.
2024-06-26 11:49:58 +00:00
Gabriel Luiz Freitas Almeida
9923f51abd
Merge branch 'dev' into fix_group_graph 2024-06-26 04:43:32 -07:00
anovazzi1
99d32277f7
Fix condition stop (#2363)
This pull request fixes a condition in the `stop` method. Previously,
the method would raise a `ValueError` if `output_name` was not provided,
even if it was set to `None`. This pull request updates the condition to
only raise the `ValueError` if `output_name` is not provided and is not
set to `None`. This allows for more flexibility when calling the `stop`
method.
2024-06-26 11:08:01 +00:00
Gabriel Luiz Freitas Almeida
462a854445
Merge branch 'dev' into fix_self_stop 2024-06-26 04:01:42 -07:00
Gabriel Luiz Freitas Almeida
4e5a1414f7
Merge branch 'dev' into fix_group_graph 2024-06-26 04:00:59 -07:00
Gabriel Luiz Freitas Almeida
f74365e355
Add message table and update message functionality (#2290)
This pull request includes the following changes:

- Added a new table called "message" to the database, allowing for
storing and retrieving messages in the application.

- Refactored the add_messages function to use a database session for
adding messages to the monitor service, improving reliability.
2024-06-26 10:54:23 +00:00
Gabriel Luiz Freitas Almeida
a2d8b831e7
Merge branch 'dev' into fix_self_stop 2024-06-26 03:39:15 -07:00
Gabriel Luiz Freitas Almeida
4056cddd5a
Merge branch 'dev' into fix_group_graph 2024-06-26 03:39:02 -07:00
Gabriel Luiz Freitas Almeida
5bdd035dc3 refactor: Add field_validator for files in MessageBase model 2024-06-25 21:48:50 -03:00
Gabriel Luiz Freitas Almeida
2637e8e349
Merge branch 'dev' into migrate_monitor_to_db 2024-06-25 17:32:00 -07:00
Gabriel Luiz Freitas Almeida
51fd1cca39
Add Types & Refactor Card Components (useHooks) (#2365)
This pull request introduces two improvements:

Type Annotations for Custom Hooks: Enhances code readability and
maintainability by adding type annotations to our custom hooks. This
will improve IDE support and help catch potential errors early in the
development process.

Card Component Refactor (useHooks): Refactors card components to
leverage the useHooks pattern. This improves code organization and
potentially simplifies component logic.

These changes improve the overall codebase quality and make it easier to
understand and maintain.
2024-06-25 17:12:20 -07:00
anovazzi1
e6e2b64dce
Merge branch 'dev' into fix_self_stop 2024-06-25 20:30:59 -03:00
anovazzi1
7e76e5653d fix save logic 2024-06-25 20:29:20 -03:00
Gabriel Luiz Freitas Almeida
12f35f298b refactor: Update add_messages and add_messagetables functions to return Message objects 2024-06-25 20:22:58 -03:00
Gabriel Luiz Freitas Almeida
2065dba215 (test_messages.py): Add unit tests for message handling functions in langflow module. 2024-06-25 20:22:58 -03:00
Gabriel Luiz Freitas Almeida
0bfb702736 refactor: Remove unused imports and optimize get_messages function 2024-06-25 20:22:58 -03:00
Gabriel Luiz Freitas Almeida
69f7a9a159 refactor: Remove unused imports and test adding messages 2024-06-25 20:22:58 -03:00
Gabriel Luiz Freitas Almeida
76fffe5990 ♻️ (service.py): remove unused code related to adding and retrieving messages in MonitorService 2024-06-25 20:22:58 -03:00
Gabriel Luiz Freitas Almeida
3204af1263 📝 (memory.py): Refactor get_messages function to use SQLAlchemy select statement for better performance and readability
📝 (memory.py): Refactor delete_messages function to use SQLAlchemy delete statement for better performance and readability
📝 (monitor/schema.py): Update MessageModel to use UUID type for id and flow_id for consistency and better data handling
2024-06-25 20:22:58 -03:00
Gabriel Luiz Freitas Almeida
f6d7bcfd88 chore: Update lint-js.yml to trigger checks on requested actions 2024-06-25 20:22:58 -03:00
Gabriel Luiz Freitas Almeida
a1afbf86cf Refactor curl command in python_test.yml to use the correct API endpoint for auto_login 2024-06-25 20:22:58 -03:00
Gabriel Luiz Freitas Almeida
a857375016 refactor: Remove unused imports in authContext.tsx 2024-06-25 20:22:58 -03:00