mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-19 21:08:13 +00:00
fix: resolve lint and type issues in Google Batch Mode implementation
- Fix unused imports in test_batch_mode.py - Update Google GenAI API calls to use correct client.batches methods - Add proper type annotations and error handling - Ensure compatibility with google-generativeai SDK Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import pytest
|
||||
import time
|
||||
from unittest.mock import Mock, patch, MagicMock
|
||||
from crewai.llm import LLM, BatchJobStartedEvent, BatchJobCompletedEvent, BatchJobFailedEvent
|
||||
from unittest.mock import Mock, patch
|
||||
from crewai.llm import LLM
|
||||
|
||||
|
||||
class TestBatchMode:
|
||||
|
||||
Reference in New Issue
Block a user