spring-projects / spring-projects/spring-ai

add enable_thinking to OpenAiChatOptions and ChatCompletionRequest

Open
#2,941 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

Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.

Expected Behavior

enable_thinking is used to control whether the Qwen3 model enables the thinking mode.

Current Behavior

current don't support this param

Context

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

Locate OpenAiChatOptions and ChatCompletionRequest, then inspect how existing request options are represented and propagated. Check the related tests, if present, before adding coverage. Done means enable_thinking can control Qwen3 thinking mode in the generated request.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ai, api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.