Instructor v1.14.2
Instructor v1.14.2 fixes model validator crashes during partial streaming and infinite recursion with self-referential models, and adds final validation after streaming completes.
Fixed Fixed model validators crashing during partial streaming by skipping them until streaming completes (#1994) Fixed infinite recursion with self-referential models in Partial (e.g., TreeNode with children: List["TreeNode"]) (#1997) Added Added `PartialLiteralMixin` documentation for handling Literal/Enum types during streaming (#1994) Added final validation against original model after streaming completes to enforce required fields (#1994) Added tests for recursive Partial models (#1997) Full Changelog: https://github.com/567-labs/instructor/compare/v1.14.1...v1.14.2
- github.cominstructor v1.14.2primary