Commit graph

8,397 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
6aabedba3d Fix logger.debug indentation in teardown_superuser
function
2023-11-23 16:13:51 -03:00
Gabriel Luiz Freitas Almeida
6a20900308 Update version to 0.5.8 2023-11-23 16:13:03 -03:00
Gabriel Luiz Freitas Almeida
c8a27b0ab2
Release 0.5.8 (#1154) 2023-11-23 16:10:50 -03:00
Gabriel Luiz Freitas Almeida
3d0a3f44b2
Merge branch 'main' into release 2023-11-23 16:09:01 -03:00
Gabriel Luiz Freitas Almeida
62325e000c Refactor database teardown process 2023-11-23 16:03:19 -03:00
Gabriel Luiz Freitas Almeida
01be078973 🔧 fix(utils.py): fix condition in teardown_superuser function to correctly check if AUTO_LOGIN is False 2023-11-23 15:57:38 -03:00
Gabriel Luiz Freitas Almeida
cdb7c1a695 Update mypy version to 1.7.1 2023-11-23 15:55:34 -03:00
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