langflow/tests
Gabriel Luiz Freitas Almeida 81d231c632 🐛 fix(vertex/base.py): fix vertex_type assignment to handle uppercase template types
🐛 fix(interface/loading.py): fix custom_node instantiation to handle classes without initialize method
 feat(template/frontend_node/prompts.py): change type_name to match class name
 feat(template/frontend_node/tools.py): change type_name to match class name
🔥 chore(test_agents_template.py): remove test_agents_settings and update initialize_agent test
The vertex_type assignment in the Vertex class was not handling uppercase template types correctly. This has been fixed to handle both uppercase and lowercase types. The custom_node instantiation in the instantiate_class function was not handling classes without an initialize method correctly. This has been fixed to instantiate the class directly if the initialize method is not present. The type_name in the ZeroShotPromptNode and PythonFunctionToolNode classes have been changed to match the class name. The test_agents_settings test has been removed as it is no longer necessary and the initialize_agent test has been updated to match the new AgentInitializer class name.
2023-06-07 21:36:40 -03:00
..
data 🎨 refactor(complex_example.json): rename "PythonFunction" to "PythonFunctionTool" and add "description" and "name" fields 2023-05-31 15:40:20 -03:00
conftest.py 🚀 feat(langflow): reorganize graph package to improve modularity and maintainability 2023-06-01 15:07:56 -03:00
test_agents_template.py 🐛 fix(vertex/base.py): fix vertex_type assignment to handle uppercase template types 2023-06-07 21:36:40 -03:00
test_cache.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_cache_manager.py refactor(langflow): reorder imports in multiple files 2023-05-02 23:23:36 +00:00
test_chains_template.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_creators.py refac: fix linting 2023-04-01 18:03:14 -03:00
test_custom_types.py 🚀 feat(customs.py): add PythonFunction to CUSTOM_NODES 2023-06-06 11:40:39 -03:00
test_embeddings_template.py 🔨 refactor(embeddings.py): move openai fields formatting to a separate method 2023-05-28 16:18:33 -03:00
test_endpoints.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_frontend_nodes.py chore: refactor of template, frontend_node and field 2023-05-27 15:56:46 -03:00
test_graph.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_llms_template.py 🚀 feat(customs.py): re-add PythonFunction to CUSTOM_NODES (#450) 2023-06-06 17:47:24 -03:00
test_loading.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_prompts_template.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00
test_template.py refac: change docstring parser 2023-04-13 21:39:25 -03:00
test_validate_code.py formatting 2023-03-31 14:06:40 -03:00
test_vectorstore_template.py update endpoint 2023-06-06 10:06:51 -03:00
test_websocket.py 🚀 chore(server, tests): update API endpoint URLs to include version number 2023-06-06 10:06:40 -03:00