Repository navigation
v2.23.4
What's Changed
🚀 New Features
Agent Model Config: maxTokens/temperature Parameters (#284)
ModelConfiggains optional inference parameters:temperature,max_tokens,enable_thinking,thinking_budget- Added
builder(),toBuilder()andof(id)factory methods model(String)/model(ModelConfig)builder aliases;setModel(String)as alias ofsetModelConfigAgentCreateParamnow validatesmodel.idclient-side- Fixed streaming: tolerate non-object
deltapayload (typed asJsonElementinstead ofJsonObject) - Fixed stream iterator to fail fast on second pass instead of blocking
🔧 Improvements
Image Synthesis: Multimodal Model Check (#283)
- Added
MULTIMODAL_MODEL_PREFIXESconstant for models that only run on multimodal generation endpoints - Implemented
checkMultimodalModelto verify and throw exceptions for multimodal models - Invoked model check in
asyncCall,syncCall, andcallmethods - Updated documentation to clarify multimodal models should use
ImageGenerationclass - Added unit tests for rejecting multimodal models in synchronous calls
📊 Statistics
- 2 PRs merged
- 456 lines added
- 20 new test cases added
🙌 Contributors
Full Changelog: v2.23.3...v2.23.4