Instructor v1.12.0
Instructor v1.12.0 releases with xAI streaming support, per-call hooks, improved retry tracking, and fixes for OpenAI JSON mode reask and Anthropic tool-use validation errors.
What's Changed feat: add mkdocs-llmstxt plugin and llms.txt support by @jxnl in https://github.com/567-labs/instructor/pull/1795 Restore multimodal import compatibility by @jxnl in https://github.com/567-labs/instructor/pull/1797 feat(retry): add comprehensive tracking of all failed attempts and exceptions by @jxnl in https://github.com/567-labs/instructor/pull/1802 feat(hooks): add hook combination and per-call hooks support by @jxnl in https://github.com/567-labs/instructor/pull/1803 feat(retry): propagate failed attempts through reask handlers by @jxnl in https://github.com/567-labs/instructor/pull/1804 fix(responses): generalize tool call parsing for reasoning models by @sapountzis in https://github.com/567-labs/instructor/pull/1799 feat(xai): add streaming support for xAI provider by @jeongyoonm in https://github.com/567-labs/instructor/pull/1758 fix(openai): reask functionality broken in JSON mode since v1.9.0 by @pnkvalavala in https://github.com/567-labs/instructor/pull/1793 fix(openai): remove duplicate schema from messages in JSON_SCHEMA mode by @pnkvalavala in https://github.com/567-labs/instructor/pull/1761 Handle Anthropic tool_use retries on ValidationError by…
- github.cominstructor v1.12.0primary