feat(YahooFinanceTool): enhance tool with new inputs for data retrieval methods (#3738)

* feat(YahooFinanceTool): enhance tool with new inputs for data retrieval methods

* test: fix test

* test: fix test units

* test: fix import

* fix: rename component

* Fix instantiation of YfinanceToolComponent in complex_agent.py

---------

Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
namastex888 2024-10-03 12:33:28 -03:00 • committed by GitHub
commit 11283655fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 88 additions and 22 deletions

View file

@ -17,5 +17,5 @@ def test_yfinance_tool_template():
assert "outputs" in frontend_node
output_names = [output["name"] for output in frontend_node["outputs"]]
assert "api_run_model" in output_names
assert "tool" in output_names
assert "api_build_tool" in output_names
assert all(output["types"] != [] for output in frontend_node["outputs"])