We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6be70ef commit 0bbd1abCopy full SHA for 0bbd1ab
homeassistant/components/google_generative_ai_conversation/__init__.py
@@ -6,6 +6,7 @@
6
from pathlib import Path
7
8
from google import genai # type: ignore[attr-defined]
9
+from google.genai import Client
10
from google.genai.errors import APIError, ClientError
11
from requests.exceptions import Timeout
12
import voluptuous as vol
@@ -139,7 +140,7 @@ async def async_setup_entry(
139
140
"""Set up Google Generative AI Conversation from a config entry."""
141
142
try:
- client: genai.Client | None = None
143
+ client: Client | None = None
144
145
def init_client():
146
nonlocal client
0 commit comments