Commit graph

7,490 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
8b1895ccf3 Update AgentInitializerComponent documentation
link
2023-11-23 15:55:27 -03:00
Gabriel Luiz Freitas Almeida
29cef91e6f Add AgentInitializerComponent to initialize agents 2023-11-23 15:38:40 -03:00
Gabriel Luiz Freitas Almeida
4580d428e5 Fix import statement in constants.py 2023-11-23 15:38:24 -03:00
Lucas Oliveira
2ea05c9b66 Removed fit view 2023-11-23 15:17:24 -03:00
Lucas Oliveira
775bcee035 Removed key and autofocus 2023-11-23 15:10:35 -03:00
Lucas Oliveira
e12b1fd522 Removed unused parameters 2023-11-23 14:40:09 -03:00
Lucas Oliveira
807ea46464 Merge branch 'feature/store' into bug/undo-copy and fixed edit node modal 2023-11-23 14:39:53 -03:00
Gabriel Luiz Freitas Almeida
4e5ec2a4de Add caching for langchain types dictionary 2023-11-23 12:16:39 -03:00
Gabriel Luiz Freitas Almeida
19f998a326 Add custom component reload endpoint 2023-11-23 12:16:28 -03:00
Gabriel Luiz Freitas Almeida
943ef39050 Refactor API endpoints and validate custom
component code
2023-11-23 11:50:31 -03:00
Gabriel Luiz Freitas Almeida
2b882bd276 Add menu path to component template 2023-11-23 11:49:54 -03:00
Gabriel Luiz Freitas Almeida
843eeac7ee Fix caching bug in CodeParser 2023-11-23 11:49:46 -03:00
Gabriel Luiz Freitas Almeida
2f6a2f3efb Fix caching bug in get_code_tree method 2023-11-23 11:49:24 -03:00
Gabriel Luiz Freitas Almeida
4d285000cf Fix code validation and return type in
CustomComponent
2023-11-23 11:49:13 -03:00
Gabriel Luiz Freitas Almeida
49c9187e9c Update return type extraction to return a list
instead of a tuple
2023-11-23 11:49:04 -03:00
Gabriel Luiz Freitas Almeida
7a521fa6cb Add new loaders to constants.py 2023-11-23 11:48:14 -03:00
Gabriel Luiz Freitas Almeida
ccfd8e8acd Refactor file loader component 2023-11-23 11:48:06 -03:00
Gabriel Luiz Freitas Almeida
6fea589778 Refactor construct_eval_env method in CodeParser
class
2023-11-23 11:09:19 -03:00
Gabriel Luiz Freitas Almeida
14db3c0263 Refactor function_args check in add_extra_fields() 2023-11-23 10:57:23 -03:00
Gabriel Luiz Freitas Almeida
48dbbf1dd3 Add caching for code parsing 2023-11-23 10:57:15 -03:00
Gabriel Luiz Freitas Almeida
946bf03190 Add cache functionality to Component class 2023-11-23 10:57:11 -03:00
Gabriel Luiz Freitas Almeida
f4210f567b Add caching to CustomComponent class 2023-11-23 10:57:06 -03:00
Gabriel Luiz Freitas Almeida
bcd13e18f3 Fix missing type for argument in CustomComponent
class
2023-11-23 10:37:59 -03:00
Gabriel Luiz Freitas Almeida
65c1a1b241 Add typing imports to constants.py 2023-11-23 10:37:44 -03:00
Gabriel Luiz Freitas Almeida
1da20fadef Fix async issue in CustomComponent and
decrypt_api_key function
2023-11-23 10:03:48 -03:00
Gabriel Luiz Freitas Almeida
49da01345e Fix variable type annotation in CodeParser class 2023-11-23 10:03:40 -03:00
Gabriel Luiz Freitas Almeida
33d2b9d6aa Refactor agent imports and remove unused imports 2023-11-23 10:03:34 -03:00
Gabriel Luiz Freitas Almeida
fdaca098d9 Fix error in evaluating custom component code 2023-11-23 10:03:27 -03:00
Gabriel Luiz Freitas Almeida
1dc7053fbf Refactor flatten_query_string_lists function 2023-11-23 10:03:19 -03:00
Gabriel Luiz Freitas Almeida
0541078e43 Update typing import in
OpenAIConversationalAgent.py
2023-11-23 10:03:12 -03:00
Gabriel Luiz Freitas Almeida
05d7bd2386 Update OpenAIConversationalAgent.py 2023-11-23 09:36:24 -03:00
Gabriel Luiz Freitas Almeida
842ba2835a Makes build method async to support async in CC 2023-11-23 09:36:15 -03:00
Gabriel Luiz Freitas Almeida
686b97e695 Refactor eval_custom_component_code function
signature
2023-11-23 08:40:59 -03:00
Gabriel Luiz Freitas Almeida
e3c35335be Fix import statement in types.py 2023-11-23 08:40:20 -03:00
Gabriel Luiz Freitas Almeida
d7fdea2a89 Refactor loading.py: Import changes and
instantiate_custom_component modification
2023-11-23 08:40:14 -03:00
Gabriel Luiz Freitas Almeida
096f3ae1fc 🔨 refactor(utils.py): rename get_function_custom to eval_custom_component_code for better clarity and consistency
 feat(utils.py): add type hinting to eval_custom_component_code function for better code readability and maintainability
🔨 refactor(utils.py): move import statement for PromptTemplate to the correct location for better organization
🔨 refactor(utils.py): move import statement for validate to the correct location for better organization
🔨 refactor(utils.py): remove unused imports and reorganize import statements for better organization
2023-11-23 08:39:51 -03:00
Gabriel Luiz Freitas Almeida
82bd124139 Fix import order in test_custom_component.py 2023-11-23 08:39:45 -03:00
Gabriel Luiz Freitas Almeida
783c0e6436 Refactor code to dynamically create classes from
strings
2023-11-23 08:39:39 -03:00
Johngdae
43fa592bdb The Anthropic component, did not work properly, so it was developed additionally. 2023-11-23 04:48:39 +00:00
nsxshota
b048db616a add: iam construct 2023-11-23 12:53:26 +09:00
nsxshota
422489c66a add: iam construct 2023-11-23 12:49:08 +09:00
nsxshota
0695a44a26 add: iam construct 2023-11-23 12:45:45 +09:00
nsxshota
284ed0c1b7 add: iam construct 2023-11-23 12:34:34 +09:00
nsxshota
2b2d8f3a87 modify LANGFLOW_DATABASE_URL 2023-11-23 11:24:56 +09:00
nsxshota
9e8906e309 modify cpu 2023-11-23 10:34:55 +09:00
cristhianzl
fa7376c118 fix(flowsContext.tsx): remove unnecessary console.log statement
fix(flowsContext.tsx): update saveFlow function to check for empty nodes before saving
fix(flowsContext.tsx): update saveFlow function to handle optional description property
fix(flowsContext.tsx): update saveFlow function to correctly update flow data in state
fix(PageComponent/index.tsx): add missing flows dependency to useEffect hook
fix(PageComponent/index.tsx): update saveFlow function to correctly pass flow data to saveFlow function
2023-11-22 22:29:38 -03:00
nsxshota
e34c561b28 modify task memory and cpu 2023-11-23 10:21:28 +09:00
cristhianzl
30cc5723bd Merge branch 'feature/store' of github.com:logspace-ai/langflow into feature/store 2023-11-22 22:08:14 -03:00
cristhianzl
08b6739e1e fix(nodeToolbarComponent): add data-testid attribute to more options modal for easier testing
fix(floatComponent.spec): update element locator for sideLlamaCpp to llmsLlamaCpp to match changes in the codebase
fix(floatComponent.spec): update element locator for editAdvancedIcon to use getByTestId for more reliable testing
2023-11-22 22:08:04 -03:00
anovazzi1
3db17aa7b6 fix(parameterComponent): update disabled logic to include proxy property in the comparison
fix(sideBarDraggableComponent): remove unnecessary line breaks and update deleteComponent function call
2023-11-22 22:07:33 -03:00