spring-projects / spring-projects/spring-ai

reasoningContent not properly added

Open
#5,664 0 comments 0 reactions 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

The model version is doubao-seed-2.0-pro. When using Spring AI 1.1.3, I hoped to obtain reasoningContent to demonstrate my thinking process, but I did not obtain it. When querying the source code, I noticed that the request entity contained reasoningContent
Image
But it was not included in the metadata below
Image
And I noticed that extraBody cannot be used with tools,I see that others have already submitted this question many times, so I won't repeat it anymore

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

Start by tracing the request entity and response metadata handling for doubao-seed-2.0-pro in the Spring AI integration. Reproduce the request with tools and inspect whether reasoningContent is preserved in the returned metadata; done means the reasoning content is available and the documented extraBody limitation is addressed or clearly confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
ai, backend-api-design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.