Lee-W commented on code in PR #74451:
URL: https://github.com/apache/airflow/pull/74451#discussion_r4310808773
##########
providers/common/ai/src/airflow/providers/common/ai/hooks/pydantic_ai.py:
##########
@@ -875,8 +873,11 @@ class PydanticAIVertexHook(PydanticAIHook):
above), so its presence alone cannot tell the two platforms apart; guessing
would risk silently authenticating against the wrong endpoint. To use the
Generative Language API, set an explicit ``google:``-prefixed model id (on
- the hook or the connection's ``model`` extra) -- that spelling already
- works today.
+ the hook or the connection's ``model`` extra). ``GoogleProvider`` accepts
only
Review Comment:
The docstring now says `service_account_info` goes to `GoogleCloudProvider`
as `credentials`. The comment in `_get_provider_kwargs` now says
`GoogleCloudProvider` takes `api_key`/`project`/`location`/`base_url`, while
`GoogleProvider` only takes `api_key`/`base_url`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]