We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b85df0 commit 99da602Copy full SHA for 99da602
1 file changed
integrations/google_ai/src/haystack_integrations/components/generators/google_ai/chat/gemini.py
@@ -174,6 +174,11 @@ def __init__(
174
:param streaming_callback: A callback function that is called when a new token is received from the stream.
175
The callback function accepts StreamingChunk as an argument.
176
"""
177
+ soft_deprecation_msg = (
178
+ "This component uses a deprecated SDK. We recommend using the GoogleGenAIChatGenerator instead. "
179
+ "Documentation is available at https://docs.haystack.deepset.ai/docs/googlegenaichatgenerator."
180
+ )
181
+ logger.warning(soft_deprecation_msg)
182
183
genai.configure(api_key=api_key.resolve_value())
184
_check_duplicate_tool_names(tools)
0 commit comments