You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for latest parameters like thinkingConfig which is missing from the API right now
Current Behavior
Missing API from ChatConfig
Context
Right now, because of this I can't use thinkingConfig for gemini 2.5 and it might trigger "thinking" even if I don't want to because it is enabled by default which results in a LOT of tokens usage.
The text was updated successfully, but these errors were encountered:
Seems like under org.springframework.ai.vertexai.gemini VertexAiGeminiChatModel class uses google.cloud.vertexai.v1.GenerationConfig (1.22.0) and this comes from Google client SDK and this class does not support thinkingConfig since spring-ai v1.0.0 uses com.google.api.grpc:proto-google-cloud-vertexai-v1:1.22.0.
@markpollack Is it planned to integrate the newer versions of Google Client SDK at the moment?
Cause seems like newer SDKs supports thinkingConfig
Expected Behavior
Support for latest parameters like
thinkingConfig
which is missing from the API right nowCurrent Behavior
Missing API from
ChatConfig
Context
Right now, because of this I can't use
thinkingConfig
for gemini 2.5 and it might trigger "thinking" even if I don't want to because it is enabled by default which results in a LOT of tokens usage.The text was updated successfully, but these errors were encountered: