Commit graph

355 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
e3a2abacae Merge remote-tracking branch 'origin/dev' into merge 2023-12-12 15:45:53 -03:00
Gabriel Luiz Freitas Almeida
094a80b50a Fix test_superuser assertion 2023-12-11 14:46:37 -03:00
Gabriel Luiz Freitas Almeida
a0377c0ac7 🐛 fix(custom_component.py): rename build_template_config method to template_config for better naming consistency
🔧 chore(test_custom_component.py): update test_custom_component_build_template_config to use the renamed template_config property
2023-12-11 12:32:02 -03:00
Gabriel Luiz Freitas Almeida
00f5772d17
Merge branch 'dev' into float_range 2023-12-10 16:52:52 -03:00
Gabriel Luiz Freitas Almeida
cebae56507
Merge branch 'dev' into build_config_with_templatefield 2023-12-10 16:52:21 -03:00
Gabriel Luiz Freitas Almeida
1a348bb220 Fix range_spec key in test_llms_template.py 2023-12-10 16:51:00 -03:00
Gabriel Luiz Freitas Almeida
47b006c2b0 Merge remote-tracking branch 'origin/dev' into float_range 2023-12-10 16:11:08 -03:00
Gabriel Luiz Freitas Almeida
d82b98c58b Update import statement for TemplateField 2023-12-10 15:54:33 -03:00
Gabriel Luiz Freitas Almeida
d670d0fd93 Add test for custom component with TemplateField 2023-12-10 15:48:51 -03:00
Gabriel Luiz Freitas Almeida
6ea7454fe3 Add range_spec to llms_template.py 2023-12-10 11:41:01 -03:00
Gabriel Luiz Freitas Almeida
f275471285 Remove redundant code and update default values
for template fields
2023-12-10 00:08:28 -03:00
Gabriel Luiz Freitas Almeida
628855c50d Update template files with new fileTypes field 2023-12-09 23:23:14 -03:00
Gabriel Luiz Freitas Almeida
38bc66472c Add GPT-4 Vision Preview option to chat_open_ai
test
2023-12-05 18:58:46 -03:00
Gabriel Luiz Freitas Almeida
5388423e0e Fix formatting issues in code 2023-12-05 18:39:20 -03:00
Gabriel Luiz Freitas Almeida
c3f9433612 Fix superuser deletion bug 2023-12-05 18:35:14 -03:00
Gabriel Luiz Freitas Almeida
513b9dbaa1 Add TestComponent class to tests/data/component.py 2023-12-05 18:35:04 -03:00
Gabriel Luiz Freitas Almeida
74d3e6d37b Add component test file 2023-12-04 18:14:26 -03:00
Gabriel Luiz Freitas Almeida
491c03e5b6 Update test_component_code path in conftest.py 2023-12-04 18:14:26 -03:00
Gabriel Luiz Freitas Almeida
96ce544582 🔧 fix(test_custom_component.py): fix import statement to match renamed function and module names
🔧 fix(test_custom_component.py): fix function calls to match renamed function names
2023-12-04 18:14:25 -03:00
Gabriel Luiz Freitas Almeida
e3a1f39c87 Add tests for custom component validation and
template generation
2023-12-04 17:23:33 -03:00
Gabriel Luiz Freitas Almeida
327cd0b462 Add test_component.py fixture 2023-12-04 17:23:32 -03:00
Gabriel Luiz Freitas Almeida
907c3ca9f7 Refactor test_agents_template.py by removing
unused test cases and initializing agent template
2023-12-04 16:25:43 -03:00
Gabriel Luiz Freitas Almeida
bf76ba660f Fix last_login_at default value 2023-12-04 15:44:30 -03:00
Gabriel Luiz Freitas Almeida
8dcc5e4120 Update base classes in AgentInitializer 2023-12-04 15:44:30 -03:00
Gabriel Luiz Freitas Almeida
5c352157d1 Fix return type assertion in
test_custom_component_get_function_entrypoint_return_type()
2023-12-04 15:44:29 -03:00
Gabriel Luiz Freitas Almeida
f30898d703 Fix import and validate model in flow creation 2023-12-04 15:44:28 -03:00
Gabriel Luiz Freitas Almeida
6e041a62b8 Fix assertion in test_build_graph 2023-12-04 15:44:28 -03:00
Gabriel Luiz Freitas Almeida
2532581e02 🐛 fix(base.py): change 'suffixes' to 'fileTypes' in Vertex and LangChainTypeCreator classes to improve consistency and readability
🐛 fix(base.py): remove 'suffixes' attribute from TemplateFieldCreator class as it is duplicate and not used

🐛 fix(base.py): change 'suffixes' to 'file_types' in TOOL_INPUTS dictionary to improve consistency and readability

🐛 fix(base.py): remove 'suffixes' attribute from TemplateFieldCreator class as it is duplicate and not used

🐛 fix(frontend_node/base.py): remove 'suffixes' attribute from FrontendNode class as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from build_file_field function as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from file_path_templates dictionary as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from build_file_field function as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from file_path_templates dictionary as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from build_file_field function as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from file_path_templates dictionary as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from build_file_field function as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from file_path_templates dictionary as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from build_file_field function as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from file_path_templates dictionary as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from build_file_field function as it is duplicate and not used

🐛 fix(frontend_node/documentloaders.py): remove 'suffixes' attribute from
2023-11-29 10:13:08 -03:00
Gabriel Luiz Freitas Almeida
64e8d4bbc7 Update poll_task_status sleep time 2023-11-28 19:39:40 -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
71473fcec6 Refactor test_endpoints.py file 2023-11-28 14:35:50 -03:00
Gabriel Luiz Freitas Almeida
b7cb39b41d Fix assertion in test_build_graph 2023-11-28 14:35:45 -03:00
Gabriel Luiz Freitas Almeida
5ad879bd9b Fix inconsistencies in test cases 2023-11-27 21:51:31 -03:00
Gabriel Luiz Freitas Almeida
c0ca8bbd04 Remove unnecessary code in test_setup_superuser.py 2023-11-27 17:15:44 -03:00
Gabriel Luiz Freitas Almeida
9d6cafd8a2 Update database model imports 2023-11-24 11:19:22 -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
82bd124139 Fix import order in test_custom_component.py 2023-11-23 08:39:45 -03:00
Gabriel Luiz Freitas Almeida
2d425d5e68 Fix model_dump method call in test_database.py 2023-11-22 08:22:38 -03:00
Gabriel Luiz Freitas Almeida
7a98ce7c36 Adds updated_at and folder cols 2023-11-21 20:57:07 -03:00
Gabriel Luiz Freitas Almeida
020488e97b Fix typos and update method names 2023-11-21 14:49:47 -03:00
Gabriel Luiz Freitas Almeida
171d918e10 Fix incorrect method call in test_database.py 2023-11-21 14:47:30 -03:00
Gabriel Luiz Freitas Almeida
c6dfb90bcf 🐛 fix(flows.py): remove unused imports and fix function call to read_flows
🐛 fix(test_database.py): fix function call to Flow.model_validate
🐛 fix(test_llms_template.py): fix values in test cases
🔥 chore(test_store.py): remove unused test file and test case
2023-11-21 14:45:02 -03:00
Gabriel Luiz Freitas Almeida
883bf3a86a 🔧 fix(test_store.py): fix import statement for CreateComponentResponse in test_search_components function
🚀 feat(test_store.py): update import statement for CreateComponentResponse in test_search_components function to reflect changes in schema
2023-11-16 09:44:35 -03:00
Gabriel Luiz Freitas Almeida
d93df82607 Refactor dependencies and imports in
custom_component.py and add new deps.py file
2023-11-14 22:01:37 -03:00
Gabriel Luiz Freitas Almeida
c36e901a74 Refactor imports and reformat code in
test_setup_superuser.py
2023-11-14 22:00:46 -03:00
Gabriel Luiz Freitas Almeida
2def762831 📦 chore(getters.py): add getters for various services and session in langflow backend
🔨 refactor(test_setup_superuser.py): refactor imports and replace deprecated dependencies in test_setup_superuser.py
2023-11-14 21:57:48 -03:00
Gabriel Luiz Freitas Almeida
60f6d08fc3 Merge remote-tracking branch 'origin/dev' into feature/store 2023-11-14 21:41:58 -03:00
Gabriel Luiz Freitas Almeida
e4d8687a09 ruff format 2023-11-13 18:32:34 -03:00
Gabriel Luiz Freitas Almeida
bd8c709870 🔄 chore(constants.py): update CHAT_OPENAI_MODELS list to reflect the latest available models
🔄 chore(test_llms_template.py): update test case to use the latest model name in the CHAT_OPENAI_MODELS list
2023-11-08 12:44:46 -03:00
Gabriel Luiz Freitas Almeida
79b12b8135
Revert "Release 0.5.6" 2023-11-06 23:18:49 -03:00