Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gvieira committed Jan 29, 2024
1 parent 43a700a commit 2845ecf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Repository = "https://github.com/joaomdmoura/crewai"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
pydantic = "^2.4.2"
langchain = "^0.1.0"
langchain = "0.1.0"
openai = "^1.7.1"
langchain-openai = "^0.0.2"
pyright = "1.1.333"
Expand All @@ -35,6 +35,7 @@ mkdocs-material = "^9.5.3"
profile = "black"
known_first_party = ["crewai"]


[tool.poetry.group.test.dependencies]
pytest = "^7.4"
pytest-vcr = "^1.0.2"
Expand Down
2 changes: 0 additions & 2 deletions src/crewai/agents/cache/cache_handler.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from typing import Optional

from pydantic import PrivateAttr


class CacheHandler:
"""Callback handler for tool usage."""
Expand Down
1 change: 0 additions & 1 deletion tests/task_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def test_task_prompt_includes_expected_output():
description="Give me a list of 5 interesting ideas to explore for na article, what makes them unique and interesting.",
expected_output="Bullet point list of 5 interesting ideas.",
agent=researcher,
allow_delegation=False,
)

from unittest.mock import patch
Expand Down

0 comments on commit 2845ecf

Please sign in to comment.