Commit graph

2,243 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
173db54a4d Fix field value replacement in
build_input_keys_response function
2023-11-28 23:00:48 -03:00
Gabriel Luiz Freitas Almeida
0d7e5992af Refactor custom_component endpoint and
reload_custom_component endpoint
2023-11-28 23:00:42 -03:00
Gabriel Luiz Freitas Almeida
9c09c724a9 Update CustomComponentCode schema 2023-11-28 23:00:29 -03:00
Gabriel Luiz Freitas Almeida
bff0f3496c Refactor langflow.interface.types.py 2023-11-28 23:00:20 -03:00
Gabriel Luiz Freitas Almeida
2444a7dd09 Refactor content formatting in utils.py 2023-11-28 22:39:14 -03:00
Gabriel Luiz Freitas Almeida
3cc1e4b8bc Refactor vertex import in base.py 2023-11-28 22:04:37 -03:00
Gabriel Luiz Freitas Almeida
c14f95c100 Fix is_task attribute in CustomComponentVertex
constructor
2023-11-28 22:02:55 -03:00
Gabriel Luiz Freitas Almeida
3accebc0a9 Refactor document loader component and improve
error handling
2023-11-28 20:23:10 -03:00
Gabriel Luiz Freitas Almeida
4b54a9d234 Fix typing error and handle Coroutine object in
generate_result() function
2023-11-28 19:39:14 -03:00
Gabriel Luiz Freitas Almeida
77227b887b Update typing import in base.py 2023-11-28 19:38:52 -03:00
Gabriel Luiz Freitas Almeida
ff86d02a92 Refactor process_graph_cached_task function 2023-11-28 19:38:22 -03:00
Gabriel Luiz Freitas Almeida
86ce36426a Refactor vertex lookup using a dictionary 2023-11-28 17:56:30 -03:00
Gabriel Luiz Freitas Almeida
b5c27724a6 Fix merge_nested_dicts_with_renaming function 2023-11-28 17:43:13 -03:00
Gabriel Luiz Freitas Almeida
1a0c5c497a Add basic imports from typing module 2023-11-28 15:38:40 -03:00
Gabriel Luiz Freitas Almeida
cca09505ee Remove unused code in build_valid_menu function 2023-11-28 15:18:06 -03:00
Gabriel Luiz Freitas Almeida
732f64bf23 Add task_result variable and update
custom_component_update function
2023-11-28 15:18:00 -03:00
Gabriel Luiz Freitas Almeida
0d8a400557 Refactor process_graph_cached_task to use
async/await
2023-11-28 15:17:52 -03:00
Gabriel Luiz Freitas Almeida
46ba84b95d Fix async handling in TaskService 2023-11-28 15:17:44 -03:00
Gabriel Luiz Freitas Almeida
2a0e33f3f4 🐛 fix(chat.py): fix variable name in if condition to improve code readability and maintain consistency 2023-11-28 15:13:09 -03:00
Gabriel Luiz Freitas Almeida
e63eb59116 🔀 refactor(base.py): rename top_level_nodes parameter to top_level_vertices in set_top_level method for better clarity and consistency 2023-11-28 15:12:47 -03:00
Gabriel Luiz Freitas Almeida
1a302fbba9 Add session_id_generator and compute_dict_hash
functions
2023-11-28 14:35:40 -03:00
Gabriel Luiz Freitas Almeida
1c27cd484b Refactor session service imports 2023-11-28 14:35:35 -03:00
Gabriel Luiz Freitas Almeida
875430592d Refactor cache update function 2023-11-28 14:35:28 -03:00
Gabriel Luiz Freitas Almeida
77ff531112 Fix get_new_key function and remove duplicate
return statements
2023-11-28 14:35:22 -03:00
Gabriel Luiz Freitas Almeida
dec36dbfb9 Fix edge source attribute in AgentVertex 2023-11-28 14:35:16 -03:00
Gabriel Luiz Freitas Almeida
f3c72ea97d Fix edge traversal in Graph class 2023-11-28 14:35:10 -03:00
Gabriel Luiz Freitas Almeida
25a1d7f3ca Fix source and target id assignment in Edge
constructor
2023-11-28 14:35:04 -03:00
Gabriel Luiz Freitas Almeida
7d3ce4e7da Refactor Celery configuration to support both
Redis and RabbitMQ
2023-11-28 14:34:57 -03:00
Gabriel Luiz Freitas Almeida
e08843485f Fix task status handling and update custom
component field
2023-11-28 14:34:50 -03:00
Gabriel Luiz Freitas Almeida
026b16977a Remove unused function get_new_key() 2023-11-28 14:34:43 -03:00
Gabriel Luiz Freitas Almeida
380a42e988 Refactor process_graph_cached_task function 2023-11-28 14:34:37 -03:00
Gabriel Luiz Freitas Almeida
3ac18c8256 Fix import statement in validate.py 2023-11-27 21:51:21 -03:00
Gabriel Luiz Freitas Almeida
2c79494d8b Fix get_root_node function to use vertices instead
of nodes
2023-11-27 21:51:16 -03:00
Gabriel Luiz Freitas Almeida
5c90a9013c Fix user_id attribute in list_flows method 2023-11-27 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
e9871976ef Fix user_id immutability issue 2023-11-27 21:51:06 -03:00
Gabriel Luiz Freitas Almeida
73e0cdba16 Refactor API endpoints and reload custom component 2023-11-27 21:51:01 -03:00
Gabriel Luiz Freitas Almeida
c8d8449029 Refactor API imports and variable names 2023-11-27 21:50:55 -03:00
Gabriel Luiz Freitas Almeida
1facfefb19 🐛 fix(types.py): pass graph parameter to Vertex constructors to fix missing graph reference
 feat(types.py): add support for passing graph parameter to Vertex constructors to ensure proper graph reference
2023-11-27 21:50:43 -03:00
Gabriel Luiz Freitas Almeida
3d20c8dc38 refactor: removes most of the circular dependencies in the Graph 2023-11-27 21:50:38 -03:00
Gabriel Luiz Freitas Almeida
81279853a0 Refactor Graph class to use __getstate__ and
__setstate__ methods
2023-11-27 18:30:21 -03:00
Gabriel Luiz Freitas Almeida
86ea5fe825 Refactor API key module 2023-11-27 17:15:43 -03:00
Gabriel Luiz Freitas Almeida
3e7195978a Fix refresh field in TemplateFieldCreator 2023-11-27 16:59:24 -03:00
Gabriel Luiz Freitas Almeida
f9d496c382 Refactor logger configuration 2023-11-24 17:07:41 -03:00
Gabriel Luiz Freitas Almeida
a16725b6c7 Fix custom component index function 2023-11-24 16:21:17 -03:00
Gabriel Luiz Freitas Almeida
90ee49225b Refactor build_field_config function to update
specific field in build_config
2023-11-24 16:21:02 -03:00
Gabriel Luiz Freitas Almeida
2e12e5369a Add import statement for time module 2023-11-24 15:13:56 -03:00
Gabriel Luiz Freitas Almeida
cbe9d30ae2 Refactor CredentialService to include a new method
for listing credentials
2023-11-24 15:12:55 -03:00
Gabriel Luiz Freitas Almeida
ef257c3f96 Add list_key_names property to CustomComponent 2023-11-24 15:12:25 -03:00
Gabriel Luiz Freitas Almeida
b9a526b72e Add foreign key constraint to Credential table 2023-11-24 15:11:52 -03:00
Gabriel Luiz Freitas Almeida
ca9b6be8cb Fix logger import duplication 2023-11-24 14:36:28 -03:00