Skip to content

Commit a249b5c

Browse files
committed
OpenAiImageAutoConfiguration support imagesPath
Signed-off-by: lambochen <[email protected]>
1 parent 689caf9 commit a249b5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

auto-configurations/models/spring-ai-autoconfigure-model-openai/src/main/java/org/springframework/ai/model/openai/autoconfigure/OpenAiImageAutoConfiguration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public OpenAiImageModel openAiImageModel(OpenAiConnectionProperties commonProper
7575
.baseUrl(resolved.baseUrl())
7676
.apiKey(new SimpleApiKey(resolved.apiKey()))
7777
.headers(resolved.headers())
78+
.imagesPath(imageProperties.getImagesPath())
7879
.restClientBuilder(restClientBuilderProvider.getIfAvailable(RestClient::builder))
7980
.responseErrorHandler(responseErrorHandler)
8081
.build();

0 commit comments

Comments
 (0)