feat(dotAI): upgrade LangChain4j to 1.15.1 and enable Azure gpt-image-1 support#35917
feat(dotAI): upgrade LangChain4j to 1.15.1 and enable Azure gpt-image-1 support#35917ihoffmann-dot wants to merge 2 commits into
Conversation
…ia OpenAiOfficialImageModel
|
Claude finished @ihoffmann-dot's task in 1m 20s —— View job Rollback Safety Analysis
Result: ✅ Safe To Rollback The label All 4 changed files are pure dependency version bumps and internal AI model provider code changes. A full scan against every rollback-unsafe category found no matches:
The changes are limited to:
Rolling back to the previous release requires no database interaction, no Elasticsearch reindexing, and no client-side changes. |
❌ Linked Issue Needs Team LabelThis PR is linked to issue #35916, but that issue has no How to fix this:Apply a This comment was automatically generated by the issue linking workflow |
Summary
langchain4j.versionfrom1.0.0to1.15.1inbom/application/pom.xmllangchain4j-open-ai-officialdependency todotCMS/pom.xmlAzureOpenAiImageModelwithOpenAiOfficialImageModel(Microsoft Foundry) inAzureOpenAiModelProviderStrategy— enablesgpt-image-1on AzureVertexAiModelProviderStrategyimports: Gemini classes moved todev.langchain4j.model.vertexai.geminiin 1.15.1Notes
AzureOpenAiImageModelonly supporteddall-e-3, which Azure deprecated in June 2025.OpenAiOfficialImageModelwithisMicrosoftFoundry(true)is the correct replacement for Azure image generation going forward.gpt-image-1supports sizes1024x1024,1024x1536,1536x1024on Azure.apiVersionfield inproviderConfig.imageshould be2025-04-01-previewor newer forgpt-image-1support.Related Issue
This PR fixes #35916
EPIC: dotAI Multi-Provider Support #33970