spring-projects / spring-projects/spring-ai
How can spring ai obtain the inference content in the reasoning_comtent attribute returned by the model? Spring ai has not transmitted it transparently. How can we solve this problem
Open
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
Our model is a self built model, but similar to deepseek-r1, the inference content is also placed in the reasoning_comntent attribute. Currently, spring ai has not returned. Please find a solution
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
Start by tracing Spring AI's model response handling for a self-built model whose output includes a reasoning_content attribute, since the issue does not name a file or test. Verify how the response is currently mapped and define done as making that reasoning content available transparently to callers without losing the existing response content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- ai, api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100