Fix CI failures: remove unused imports and add streaming parameters to agent adapters and test mocks

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2025-06-04 07:15:10 +00:00
parent 510a4087cd
commit bb72804e74
5 changed files with 8 additions and 5 deletions

View File

@@ -119,7 +119,7 @@ def test_guardrail_error_in_context():
# Mock execute_task to succeed on second attempt
first_call = True
def execute_task(task, context, tools):
def execute_task(task, context, tools, stream=False, stream_callback=None):
nonlocal first_call
if first_call:
first_call = False