Expected Behavior
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.
Comment From: argmnt
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 looks like supports thinkingConfig
Newer Version Google Client SDK
Thanks for answer in advance