mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-26 16:48:13 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user