instructor
instructor copied to clipboard
fix: add jsonref to required dependencies
Closes #2288.
The library imports jsonref at runtime—for example in map_to_gemini_function_schema (instructor/providers/gemini/utils.py), which is used when building Gemini tool schemas, and in instructor/providers/vertexai/client.py. Previously jsonref appeared only under optional extras (dev, google-genai, vertexai), so a plain install did not pull it in and those paths could raise ImportError on a clean environment.
Add jsonref>=1.1.0,<2.0.0 to core [project].dependencies and record it on the editable instructor package in uv.lock.
Made with Cursor