🚀 feat(loading.py): add support for PythonFunction node type 🚀 feat(constants.py): add PythonFunction to CUSTOM_TOOLS 🚀 feat(custom.py): add PythonFunction class 🚀 feat(frontend_node/tools.py): add PythonFunctionNode class 🧪 test(test_custom_types.py): add test for PythonFunction class 🧪 test(test_llms_template.py): comment out tests for AzureOpenAI and AzureChatOpenAI The changes add support for a new node type, PythonFunction, which allows users to define a Python function to be executed. The node type is added to CUSTOM_NODES in customs.py, and support for the node type is added to loading.py. The node type is also added to CUSTOM_TOOLS in constants.py, and the PythonFunction class is added to custom.py. The PythonFunctionNode class is added to frontend_node/tools.py. Tests for the new PythonFunction class are added to test_custom_types.py. Tests for AzureOpenAI and AzureChatOpenAI are commented out in test_llms_template.py. |
||
|---|---|---|
| .. | ||
| data | ||
| conftest.py | ||
| test_agents_template.py | ||
| test_cache.py | ||
| test_cache_manager.py | ||
| test_chains_template.py | ||
| test_creators.py | ||
| test_custom_types.py | ||
| test_embeddings_template.py | ||
| test_endpoints.py | ||
| test_frontend_nodes.py | ||
| test_graph.py | ||
| test_llms_template.py | ||
| test_loading.py | ||
| test_prompts_template.py | ||
| test_template.py | ||
| test_validate_code.py | ||
| test_vectorstore_template.py | ||
| test_websocket.py | ||