spring-projects / spring-projects/spring-ai

Sub-properties of response-format are not currently supported with auto-completion

Open
#3,430 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.