mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 08:12:39 +00:00
Fix AgentAction constructor call in test
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -51,8 +51,7 @@ def test_custom_tool_invocation():
|
|||||||
tool="Test Custom Tool",
|
tool="Test Custom Tool",
|
||||||
tool_input={"test_param": "test_value"},
|
tool_input={"test_param": "test_value"},
|
||||||
thought="I'll use the custom tool",
|
thought="I'll use the custom tool",
|
||||||
text="I'll use the Test Custom Tool to get a result",
|
text="I'll use the Test Custom Tool to get a result"
|
||||||
message_log=[]
|
|
||||||
)
|
)
|
||||||
|
|
||||||
result = executor._execute_tool_and_check_finality(action)
|
result = executor._execute_tool_and_check_finality(action)
|
||||||
|
|||||||
Reference in New Issue
Block a user