RepoJournal
Spring

@spring-projects

Spring Framework, Spring Boot, and the JVM enterprise layer

Pick a date

The Wire · Showcase

SPRING-AI PATCHES ANTHROPIC STREAM TRUNCATION BUG, FIXES OLLAMA MODEL INHERITANCE

By RepoJournal · Filed · About Spring

Spring AI shipped fixes for two production issues that break AI integrations: Anthropic thinking blocks disappearing on stream truncation and Ollama requests failing when prompt options don't inherit the configured model.

The Anthropic thinking signature fix [1] prevents data loss when streams terminate early by guarding against missing signatures before they reach the replay buffer, with logging to surface when this happens. More critically, OllamaChatModel now correctly inherits its base model configuration when prompt-level options are provided [2], fixing the 404 failures that occur when environments lack the default Mistral model. Spring AI also hardened against locale-specific string comparisons [3] by using Locale.ROOT for protocol operations like uppercase/lowercase on wire values, ensuring builds succeed on Turkish JVMs where 'I'.toLowerCase() incorrectly produces 'ı'. These are all targeted fixes without breaking changes. On the security desk, Spring Security bumped Jackson to 2.22.1 [5], a routine patch that includes maintenance improvements. Documentation got a minor typo correction [4].

Action items

References

  1. [1] Guard against missing Anthropic thinking signature on stream truncation spring-projects/spring-ai
  2. [2] Fix OllamaChatModel prompt options not inheriting configured model spring-projects/spring-ai
  3. [3] Use Locale.ROOT for String uppercase/lowercase operations on wire/protocol values spring-projects/spring-ai
  4. [4] Fix duplicate "is is" typo in openai-chat.adoc spring-projects/spring-ai
  5. [5] Bump com.fasterxml.jackson:jackson-bom from 2.22.0 to 2.22.1 ↗ spring-projects/spring-security

FAQ

What changed in Spring on July 8, 2026?
Spring AI shipped fixes for two production issues that break AI integrations: Anthropic thinking blocks disappearing on stream truncation and Ollama requests failing when prompt options don't inherit the configured model.
What should Spring teams do about it?
Upgrade spring-ai if you use Ollama with non-Mistral models or Anthropic streaming • Update Jackson to 2.22.1 in spring-security deployments on next routine cycle • Verify Anthropic integrations log warnings on stream truncation after upgrade
Which Spring repositories shipped on July 8, 2026?
spring-projects/spring-ai, spring-projects/spring-security

For your repos

The showcase is a teaser.
Your wire is the product.

Same engine. Different stack. Below: what changes when the wire is yours.

Showcase wire

  • 14 famous open source orgs
  • One wire per day
  • Public, generic
  • Read on the web, when you remember

Your wire

  • Up to 1,500 of your repos - orgs, deps, vendors
  • Morning and evening briefs
  • Action items routed to your team
  • Slack delivery, email, breaking-news CVE alerts

Want a hands-on demo first? Ask a current user for an invite link.