mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 08:12:39 +00:00
Fix streaming implementation issues
- Add streaming parameters to BaseAgent.execute_task method signature - Fix mock LLM objects to include supports_stop_words attribute - Update event emission to use crewai_event_bus.emit instead of direct method calls - Remove unused variables in test files Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -254,6 +254,8 @@ class BaseAgent(ABC, BaseModel):
|
||||
task: Any,
|
||||
context: Optional[str] = None,
|
||||
tools: Optional[List[BaseTool]] = None,
|
||||
stream: bool = False,
|
||||
stream_callback: Optional[Callable[[str, str, str, str], None]] = None,
|
||||
) -> str:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user