spring-projects / spring-projects/spring-ai
Sub-properties of response-format are not currently supported with auto-completion
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
Bug description
In both OpenAI and Azure OpenAI, the sub-properties of response-format are not currently supported with auto-completion in application.properties and application.yaml files even though it works.
Therefore it would be easy for users to misunderstand which properties they can use.
(Reported by @dev-jonghoonpark 👍)
Environment
All env
Steps to reproduce
If you write spring.ai.azure.openai.chat.options.response-format.*=... in application.yml, the auto-completion won't supported.
Expected behavior
Auto-completion supported.
Minimal Complete Reproducible example
see: https://github.com/spring-projects/spring-ai/issues/3354#issuecomment-2935382059
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in application.properties and application.yaml using spring.ai.azure.openai.chat.options.response-format.* and compare the OpenAI and Azure OpenAI configuration metadata. Confirm that the response-format sub-properties appear in auto-completion while preserving their existing functionality.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100