spring-projects / spring-projects/spring-ai
Possible issue using Qwen3 models
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 5
Description
Bug description
'name': '', 'refusal': '', 'role': 'USER', 'tool_call_id': '', 'tool_calls': None}], 'metadata': None, 'modalities': None, 'model': 'Qwen/Qwen3-30B-A3B', 'n': None, 'parallel_tool_calls': None, 'presence_penalty': None, 'reasoning_effort': '', 'response_format': None, 'seed': None, 'service_tier': '', 'stop': None, 'store': None, 'stream': False, 'stream_options': None, 'temperature': 0.1, 'tool_choice': None, 'tools': None, 'top_logprobs': None, 'top_p': None, 'user': ''}, 'ctx': {'error': ValueError('When using tool_choice, tools must be set.')}}]","type":"BadRequestError","param":null,"code":400}
Environment
java 21
spring ai version:M7
Steps to reproduce
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
The issue provides no file or test name. Start by reproducing the Qwen/Qwen3-30B-A3B request from the linked steps under Java 21 and Spring AI M7, then trace the tool_choice/tools validation that produces the 400 error. Done means the behavior is explained and a focused fix or documented limitation is backed by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- ai, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100