Skip to content

Commit

Permalink
test: TODOs for langchain tools
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Dec 6, 2024
1 parent 067637a commit 9ef4bdc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libertai_agents/tests/tools/test_langchain_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from libertai_agents.interfaces.tools import Tool
from libertai_agents.utils import find

# TODO: uncomment when https://huggingface.co/spaces/lysandre/hf-model-downloads/discussions/1 is merged
# def test_langchain_huggingface_hub_tool():
# # https://python.langchain.com/docs/integrations/tools/huggingface_tools/
# tool = load_huggingface_tool("lysandre/hf-model-downloads")
Expand Down Expand Up @@ -73,3 +74,8 @@ def test_langchain_requests_tools():
libertai_tools = [Tool.from_langchain(t) for t in tools]
get_tool = find(lambda t: t.name == "requests_get", libertai_tools)
assert get_tool is not None


# TODO: add tests for the following tools:
# https://python.langchain.com/docs/integrations/tools/nasa/
# https://python.langchain.com/docs/integrations/tools/openweathermap/

0 comments on commit 9ef4bdc

Please sign in to comment.