test: add test for pip install on python 3.10, 3.11, and 3.12 and remove crewAI tools (#2082)

This commit is contained in:
Sarah Wooders
2024-11-21 19:50:35 -08:00
committed by GitHub
parent ab3bf12fb2
commit cb85ccebc1
14 changed files with 629 additions and 1771 deletions

View File

@@ -164,14 +164,12 @@ def check_agent_uses_external_tool(filename: str) -> LettaResponse:
Note: This is acting on the Letta response, note the usage of `user_message`
"""
from crewai_tools import ScrapeWebsiteTool
crewai_tool = ScrapeWebsiteTool(website_url="https://www.example.com")
from composio_langchain import Action
# Set up client
client = create_client()
cleanup(client=client, agent_uuid=agent_uuid)
tool = client.load_crewai_tool(crewai_tool=crewai_tool)
tool = client.load_composio_tool(action=Action.GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER)
tool_name = tool.name
# Set up persona for tool usage