instructor v1.15.1
Security Bedrock: Block remote HTTP(S) image URL fetching in `_openai_image_part_to_bedrock` — only `data:` URLs accepted, preventing SSRF via user-controlled image URLs Bedrock/PDF: Block remote URL and local file…
github.com·sdk·20 items·last fetched
Security Bedrock: Block remote HTTP(S) image URL fetching in `_openai_image_part_to_bedrock` — only `data:` URLs accepted, preventing SSRF via user-controlled image URLs Bedrock/PDF: Block remote URL and local file…
What's Changed Validation: Fix `Validator` to require `is_valid` field (#2230) Gemini: Handle `GEMINI_TOOLS` in async streaming paths (#2135) CLI: Add `--full-id` flag to show complete batch IDs (#2068) Providers…
Changes fix(metadata): populate author field for PyPI stats Separate author names from emails so hatchling populates the Author metadata field correctly. pypistats.org reads this field and was showing "None" because…
What's Changed refactor(json_tracker): simplify using sibling heuristic by @thomasnormal in https://github.com/567-labs/instructor/pull/2000 Responses API validation error by @jxnl in…
Added Completeness-based validation for Partial streaming - only validates JSON structures that are structurally complete (#1999) New `JsonCompleteness` class in `instructor/dsl/json_tracker.py` for tracking JSON…
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…
What's Changed fix(genai): Support cached_content for Google context caching by @b-antosik-marcura in https://github.com/567-labs/instructor/pull/1987 New Contributors @b-antosik-marcura made their first contribution…
What's Changed Audit and standardize exception handling in instructor library by @jxnl in https://github.com/567-labs/instructor/pull/1897 Standardize provider imports in documentation by @jxnl in…
What's Changed fix: Gemini HARM_CATEGORY_JAILBREAK and Anthropic tool_result blocks by @jxnl in https://github.com/567-labs/instructor/pull/1867 fix(genai): fix Gemini streaming by @DaveOkpare in…
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…
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…
What's Changed feat: Add automated bi-weekly scheduled releases by @jxnl in https://github.com/567-labs/instructor/pull/1787 feat: Enhanced Google Cloud Storage Support for Multimodal Classes by @jxnl in…
What's Changed fix(auto_client): add support for litellm provider in from_provider by @jxnl in https://github.com/567-labs/instructor/pull/1723 refactor(utils): complete provider-specific utility reorganization by…
What's Changed Update integrations to from_provider API by @jxnl in https://github.com/567-labs/instructor/pull/1668 feat: Add native caching support with AutoCache and RedisCache adapters by @jxnl in…
What's Changed Fix docs build path by @jxnl in https://github.com/567-labs/instructor/pull/1662 Revert "refactor: simplify safety settings configuration for Gemini API" by @jxnl in…
What's Changed feat: add Azure OpenAI support to auto_client.py by @jxnl in https://github.com/567-labs/instructor/pull/1633 fix: expose exception classes in public API by @ivanleomk in…
What's Changed feat: Improve error handling with comprehensive exception hierarchy by @jxnl in https://github.com/567-labs/instructor/pull/1549 Remove `enable_prompt_caching` from Anthropic integration since we ha… by…
What's Changed docs: improve CLAUDE.md with better architecture description by @jxnl in https://github.com/567-labs/instructor/pull/1525 fix(bedrock): minimal working example with from_bedrock client by…
What's Changed fix: removed print statement by @ivanleomk in https://github.com/567-labs/instructor/pull/1524 Full Changelog: https://github.com/567-labs/instructor/compare/1.8.1...1.8.2
What's Changed docs(blog): add Anthropic web search structured data blog post by @jxnl in https://github.com/567-labs/instructor/pull/1515 fix: added support for calling streaming from the create method by @ivanleomk…