mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 09:08:31 +00:00
Make tests green again
This commit is contained in:
@@ -73,7 +73,7 @@ def test_agent_creation():
|
|||||||
|
|
||||||
def test_agent_default_values():
|
def test_agent_default_values():
|
||||||
agent = Agent(role="test role", goal="test goal", backstory="test backstory")
|
agent = Agent(role="test role", goal="test goal", backstory="test backstory")
|
||||||
assert agent.llm.model == "gpt-4o"
|
assert agent.llm.model == "gpt-4o-mini"
|
||||||
assert agent.allow_delegation is False
|
assert agent.allow_delegation is False
|
||||||
|
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@ def test_logging_tool_usage():
|
|||||||
verbose=True,
|
verbose=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
assert agent.llm.model == "gpt-4o"
|
assert agent.llm.model == "gpt-4o-mini"
|
||||||
assert agent.tools_handler.last_used_tool == {}
|
assert agent.tools_handler.last_used_tool == {}
|
||||||
task = Task(
|
task = Task(
|
||||||
description="What is 3 times 4?",
|
description="What is 3 times 4?",
|
||||||
|
|||||||
Reference in New Issue
Block a user