mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
Fix lint issues: import sorting
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -1503,6 +1503,7 @@ async def test_async_kickoff_for_each_async_empty_input():
|
||||
async def test_kickoff_async_error_handling():
|
||||
"""Tests error handling in kickoff_async when kickoff raises an error."""
|
||||
from unittest.mock import patch
|
||||
|
||||
from crewai.utilities.exceptions.llm_error import LLMError
|
||||
|
||||
inputs = {"topic": "dog"}
|
||||
@@ -1537,7 +1538,10 @@ async def test_kickoff_async_error_handling():
|
||||
async def test_kickoff_async_context_length_error_handling():
|
||||
"""Tests error handling in kickoff_async when kickoff raises a context length error."""
|
||||
from unittest.mock import patch
|
||||
from crewai.utilities.exceptions.context_window_exceeding_exception import LLMContextLengthExceededException
|
||||
|
||||
from crewai.utilities.exceptions.context_window_exceeding_exception import (
|
||||
LLMContextLengthExceededException,
|
||||
)
|
||||
from crewai.utilities.exceptions.llm_error import LLMError
|
||||
|
||||
inputs = {"topic": "dog"}
|
||||
|
||||
Reference in New Issue
Block a user