Skip to content

Commit 49209d1

Browse files
authored
Enable auto complete for 'spring.ai.vertex.ai.gemini.chat.options' (#3101)
Signed-off-by: Hyunsang Han <[email protected]>
1 parent 2201622 commit 49209d1

File tree

1 file changed

+3
-0
lines changed
  • auto-configurations/models/spring-ai-autoconfigure-model-vertex-ai/src/main/java/org/springframework/ai/model/vertexai/autoconfigure/gemini

1 file changed

+3
-0
lines changed

auto-configurations/models/spring-ai-autoconfigure-model-vertex-ai/src/main/java/org/springframework/ai/model/vertexai/autoconfigure/gemini/VertexAiGeminiChatProperties.java

+3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@
1919
import org.springframework.ai.vertexai.gemini.VertexAiGeminiChatModel;
2020
import org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions;
2121
import org.springframework.boot.context.properties.ConfigurationProperties;
22+
import org.springframework.boot.context.properties.NestedConfigurationProperty;
2223

2324
/**
2425
* Configuration properties for Vertex AI Gemini Chat.
2526
*
2627
* @author Christian Tzolov
28+
* @author Hyunsang Han
2729
* @since 0.8.0
2830
*/
2931
@ConfigurationProperties(VertexAiGeminiChatProperties.CONFIG_PREFIX)
@@ -36,6 +38,7 @@ public class VertexAiGeminiChatProperties {
3638
/**
3739
* Vertex AI Gemini API generative options.
3840
*/
41+
@NestedConfigurationProperty
3942
private VertexAiGeminiChatOptions options = VertexAiGeminiChatOptions.builder()
4043
.temperature(0.7)
4144
.candidateCount(1)

0 commit comments

Comments
 (0)