Improvements
- Streaming reasoning support: Models with reasoning capabilities (like Claude Sonnet 4.5 or GPT-o1) now stream their reasoning process in real-time, allowing you to see how the model thinks through problems as it generates responses (KG-592, #1264)
- LLModel API enhancement: LLM clients now return
List<LLModel>instead ofList<String>for improved type safety and direct access to model metadata (#1452) - Multiple event handlers per feature: Features can register multiple handlers for the same event type, enabling more flexible event processing (KG-678, #1446)
- Dependency updates: Updated Kotlin libraries (KG-544, #1475):
Kotlinfrom2.2.21to2.3.10kotlinx-serializationfrom1.8.1to1.10.0kotlinx-datetimefrom0.6.2to0.7.1
Bug Fixes
- OpenRouter streaming: Fixed parsing errors when receiving reasoning content from models with reasoning capabilities by adding missing
reasoningandreasoningDetailsfields to the streaming response (#854) - ReadFileTool: Fixed incorrect binary file detection for empty files (KG-533, #1340)
- DevstralMedium model: Added missing
LLMCapability.Documentcapability (#1482) - Ktor integration: Fixed custom timeout values being ignored when configuring LLM providers in
application.yaml(KTOR-8881, #807)
Breaking Changes
- Streaming API redesign: Restructured
StreamFrametypes to distinguish between delta frames (incremental content likeTextDelta,ReasoningDelta) and complete frames (full content likeTextComplete,ReasoningComplete). AddedEndframe type to signal stream completion (#1264) - Kotlin version update: Migrated from Kotlin
2.2.21to2.3.10; replacedkotlinx.datetime.Clock/Instantwithkotlin.time.Clock/Instant(#1475) - LLModel API changes:
LLMClient.models()now returnsList<LLModel>instead ofList<String>;LLModel.capabilitiesandLLModel.contextLengthare now nullable (#1452)
Documentation
- Updated documentation for the
singleRunStrategyAPI andAIAgentServiceclass.
Refactoring
- Module restructuring: Moved file-system abstractions (
GlobPattern,FileSize,FileSystemEntry,FileSystemEntryBuilders) fromagents-exttorag-basemodule to reduce transitive dependencies (#1278)
Examples
- Added the ACP (Agent Communication Protocol) agent example project (#1438)