mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-09-23 11:20:13 +00:00
* fix(deps): pin instructor <1.16 to keep OpenAI Mode.TOOLS registered instructor 1.16.0 removed the OpenAI Mode.TOOLS handler in favor of Mode.RESPONSES_TOOLS. `InternalInstructor` calls `instructor.from_provider`, which still defaults to Mode.TOOLS internally, so any native-OpenAI kickoff that hits a structured-output path (guardrails, output_pydantic, LLM guardrails) fails immediately with `ModeError: Mode.TOOLS is not registered for provider Provider.OPENAI`. Cap the range while we teach `_create_instructor_client` to negotiate a supported mode against `mode_registry`. Refs COR-861 (Docusign, deployment 134108). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix: avoid redundant cache saves in tests workflow Co-authored-by: vinibrsl <5093045+vinibrsl@users.noreply.github.com> * docs: explain instructor compatibility pin Co-authored-by: vinibrsl <5093045+vinibrsl@users.noreply.github.com> --------- Co-authored-by: Daniel Minella <dminella@Mac.home> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>