spring-projects / spring-projects/spring-ai
Unhandled event type: CONTENT_BLOCK_STOP
Open
Nobody has claimed this yet.
status: feedback-provided
status: waiting-for-triage
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
- spring ai:1.1.7
- spring boot: 3.4.1
- jdk 21
There is a warning about:
2026-06-09 17:07:38.001 WARN [HttpClient-2-Worker-1] [traceId=,spanId=] [run=,ns=,sess=] o.s.ai.anthropic.api.StreamHelper - Unhandled event type: CONTENT_BLOCK_STOP
I looked for many issues but found no similar ones, so I can only submit this issue to find the answer. thanks!
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 locating StreamHelper, named in the warning, and reproduce the issue with Spring AI 1.1.7, Spring Boot 3.4.1, and JDK 21. Trace how the streaming CONTENT_BLOCK_STOP event is processed and determine whether the warning reflects missing handling; done means the event behavior is verified and the warning is resolved or clearly explained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100