🚀 feat(langflow): add PythonFunctionToolNode to the frontend node tools 🚀 feat(langflow): add PythonFunctionTool to the custom tools 🚀 feat(langflow): add get_function to importing utils to get the function from code 🚀 feat(langflow): add func parameter to PythonFunctionTool to store the function 🚀 feat(langflow): add name and description parameters to PythonFunctionTool 🚀 feat(langflow): update instantiate_tool to use PythonFunctionTool instead of PythonFunction 🚀 feat(langflow): update constants to use PythonFunctionTool instead of PythonFunction 🚀 feat(langflow): update custom.py to use PythonFunctionTool instead of PythonFunction 🚀 feat(langflow): update loading.py to use get_function and PythonFunctionTool 🚀 feat(langflow): update utils.py to use get_function 🚀 feat(langflow): update test_custom_types.py to use get_function and PythonFunctionTool 🚀 feat(langflow): update test_graph.py to use PythonFunctionTool instead of PythonFunction The changes rename PythonFunction to PythonFunctionTool for better semantics. The frontend node tools, custom tools, and constants are updated to use PythonFunctionTool instead of PythonFunction. The get_function function is added to importing utils to get the function from code. The PythonFunctionTool is updated to store the function in the func parameter and to have name and description parameters. The instantiate_tool, loading.py, and utils.py are updated to use get_function and PythonFunctionTool. The test_custom_types.py and test_graph.py are updated to use PythonFunctionTool instead of PythonFunction. |
||
|---|---|---|
| .. | ||
| 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 | ||