spring-projects / spring-projects/spring-ai
Reasoning options documented in docs
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
Expected Behavior
I would expect that it would be easy to add reasoning_effort (or similar) to the models that support it.
Current Behavior
Not defined in the documentation. At least for claude sonnet 4 trough bedrock. After a lot of searching, since anthrophic doesnt use the nomenclature reasoning_effort (whyyyyyy), I found a ThinkingConfig within the https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/AnthropicChatOptions.java
I would expect all of the different options to be well documented in the documentation, such that I do not have to go into the code.
Context
We are considering / experimenting using SpringAI in our org for our agent efforts, but this requires good and up to date documentation.
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 with models/spring-ai-anthropic/src/main/java/org/springframework/ai/anthropic/AnthropicChatOptions.java and inspect the ThinkingConfig options referenced in the issue. Update the relevant documentation to explain the supported reasoning settings, including the Claude Sonnet 4 and Bedrock context, and verify that the available options are discoverable without reading source code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java, spring
- Domain
- ai, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100