Skip to content

Commit

Permalink
rm cassette for knowledge_sources test as its a mock and update agent…
Browse files Browse the repository at this point in the history
… doc string
  • Loading branch information
lorenzejay committed Nov 27, 2024
1 parent 87e9a0c commit 3eb52da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 116 deletions.
3 changes: 2 additions & 1 deletion src/crewai/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class Agent(BaseAgent):
allow_delegation: Whether the agent is allowed to delegate tasks to other agents.
tools: Tools at agents disposal
step_callback: Callback to be executed after each step of the agent execution.
knowledge_sources: Knowledge sources for the agent.
"""

_times_executed: int = PrivateAttr(default=0)
Expand Down Expand Up @@ -131,7 +132,7 @@ class Agent(BaseAgent):
)
knowledge_sources: Optional[List[BaseKnowledgeSource]] = Field(
default=None,
description="Knowledge sources for the agent. Add knowledge sources to the knowledge object.",
description="Knowledge sources for the agent.",
)
_knowledge: Optional[Knowledge] = PrivateAttr(
default=None,
Expand Down
115 changes: 0 additions & 115 deletions tests/cassettes/test_agent_with_knowledge_sources.yaml

This file was deleted.

0 comments on commit 3eb52da

Please sign in to comment.