Skip to content

Commit 217e6ac

Browse files
Jeomonclaude
andcommitted
Fix unused google.genai imports in ImageGoogle provider
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8d042bf commit 217e6ac

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

operator_use/providers/google/image.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def _is_gemini_model(self) -> bool:
8282

8383
def _generate_gemini(self, prompt: str, output_path: str, images: list[str] | None, **kwargs) -> None:
8484
"""Generate or edit using Gemini native image output."""
85-
from google import genai
8685
from google.genai import types
8786

8887
client = self._make_client()
@@ -121,7 +120,6 @@ def _generate_gemini(self, prompt: str, output_path: str, images: list[str] | No
121120

122121
def _generate_imagen(self, prompt: str, output_path: str, images: list[str] | None, **kwargs) -> None:
123122
"""Generate using Imagen 4 (text-to-image only)."""
124-
from google import genai
125123
from google.genai import types
126124

127125
if images:

0 commit comments

Comments
 (0)