The Wire · Showcase
LARAVEL AI FIXES MULTI-TURN ADVISOR CRASH. SURVEYOR AND RANGER SHIP v0.2 WITH RESOURCE ANALYSIS
By RepoJournal · Filed · About Laravel
Every multi-turn conversation with Laravel AI's Anthropic advisor was failing because provider content blocks dropped on replay — now fixed.
Laravel AI shipped a critical fix [1] that restores Anthropic provider content blocks (`server_tool_use`, `server_tool_result`, `thinking`) when replaying multi-turn conversations. The SDK was rebuilding assistant messages from text and tool_calls only, which caused 400 errors on subsequent requests that relied on server-side tool context. This is a blocker for anyone using the advisor with multi-turn workflows. Same release also dropped redundant `tool_config` from Gemini text requests [2] that was breaking agents relying on provider tools like FileSearch and WebSearch. Surveyor v0.2.1 [8] now exposes class-level @property docblock tags as actual properties, so hasProperty() and publicProperties() finally work on typical Eloquent models and DTOs [7]. Ranger v0.2.0 [3] builds on this with ResourceAnalyzer support [4] to collect API resource and arrayable responses, route binding resolution via Surveyor [5], and full JSON:API resource additional data threading [6]. Docs got syntax fixes [9] and a clarity update on the three starter kits [10].
Action items
- → If using Anthropic advisor with multi-turn conversations, upgrade laravel/ai immediately laravel/ai [immediate]
- → If using Gemini agents with provider tools, upgrade laravel/ai to clear 400 errors laravel/ai [immediate]
- → Upgrade Surveyor to v0.2.1 if relying on model property introspection laravel/surveyor [plan]
- → Adopt Ranger v0.2 for improved API resource type resolution and JSON:API support laravel/ranger [plan]
References
- [1] fix(anthropic): preserve provider content blocks on assistant replay (refs #298) ↗ laravel/ai
- [2] Drop redundant tool_config from Gemini text requests ↗ laravel/ai
- [3] v0.2.0 ↗ laravel/ranger
- [4] Collect API resource and arrayable responses ↗ laravel/ranger
- [5] Resolve route binding types via Surveyor analyzer ↗ laravel/ranger
- [6] Surface JSON:API resource additional data ↗ laravel/ranger
- [7] Expose class-level @property docblock tags as properties ↗ laravel/surveyor
- [8] v0.2.1 ↗ laravel/surveyor
- [9] Fix validation rule syntax errors. ↗ laravel/docs
- [10] Update description of starter kits in frontend.md ↗ laravel/docs
FAQ
- What changed in Laravel on May 5, 2026?
- Every multi-turn conversation with Laravel AI's Anthropic advisor was failing because provider content blocks dropped on replay — now fixed.
- What should Laravel teams do about it?
- If using Anthropic advisor with multi-turn conversations, upgrade laravel/ai immediately • If using Gemini agents with provider tools, upgrade laravel/ai to clear 400 errors • Upgrade Surveyor to v0.2.1 if relying on model property introspection
- Which Laravel repositories shipped on May 5, 2026?
- laravel/ai, laravel/ranger, laravel/surveyor, laravel/docs