+
    kHàjÜ  ã                   ót   € R t ^ RIHt ^ RIHt ^ RIHt  ! R R]4      t]! RRRRRRR	R
R7      t]! ]4       R# )as  Google Vertex AI provider profile: Gemini via Google Cloud's OpenAI-compatible endpoint.

Auth is OAuth2 (service-account JSON or ADC), not a static key: ``agent/vertex_adapter.py``
mints ``(token, base_url)`` and the token is passed as ``api_key``. ``auth_type="vertex"``
keeps it out of the api_key provider path so a credentials-file path is never mistaken for a key.
)ÚAny)Úregister_provider)ÚProviderProfilec                   ó>   a € ] tR t^t o RtRR/V 3R lR lltRtV tR# )ÚVertexProfileuH   Vertex AI â€” reuse Gemini's thinking_config translation for extra_body.Ú
session_idNc                óP   <€ V ^8„  d   QhRS[ R,          RS[RS[S[ S[3,          /# )é   r   NÚcontextÚreturn)Ústrr   Údict)ÚformatÚ__classdict__s   "€ÚL/home/ubuntu/.hermes/hermes-agent/plugins/model-providers/vertex/__init__.pyÚ__annotate__ÚVertexProfile.__annotate__   s8   ø€ ÷ kñ k©c°D­jð kÉCð kÑTXÑY\Ñ^aÐYaÕTbñ kó    c               ó¼   € ^ RI HpHp T! VP                  R4      ;'       g    RVP                  R4      4      pV'       d	   V! V4      MRpV'       d	   RRRV///# / # )	z`Emit ``extra_body.google.thinking_config`` like the ``gemini`` provider's OpenAI-compat subpath.)Ú_build_gemini_thinking_configÚ"_snake_case_gemini_thinking_configÚmodelÚ Úreasoning_configNÚ
extra_bodyÚgoogleÚthinking_config)Ú!agent.transports.chat_completionsr   r   Úget)Úselfr   r
   r   r   Úrawr   s   &$,    r   Úbuild_extra_bodyÚVertexProfile.build_extra_body   sY   € çwá+¨G¯K©K¸Ó,@×,FÐ,FÀBÈÏÉÐTfÓHgÓhˆßEHÑ<¸SÔAÈdˆßSb�˜xÐ*;¸_Ð)MÐNÐOÐjÐhjÐjr   © )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r!   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r   r      s"   ø‡ € ÙRðk¸4÷ k÷ kð kr   r   ÚvertexÚchat_completionsz!https://aiplatform.googleapis.comzgoogle/gemini-3.6-flashF)ÚnameÚaliasesÚapi_modeÚenv_varsÚbase_urlÚ	auth_typeÚdefault_aux_modelÚsupports_model_listingN)zgoogle-vertexz	vertex-aiz
gcp-vertexÚvertexair#   )	r(   Útypingr   Ú	providersr   Úproviders.baser   r   r+   r#   r   r   Ú<module>r9      sQ   ðñõ å 'Ý *ô	k�Oô 	kñ 
Ø	ÐSÐ^pØØ0ØÐ*CØ ô
€ñ �&Ö r   