Conversation
There was a problem hiding this comment.
Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.
Once credits are available, reopen this pull request to trigger a review.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Related Issue
Closes #
Description
Simplify Anthropic schema normalization by using the SDK's built-in
transform_schema.The previous implementation manually handled JSON Schema constraints. But the Anthropic Python SDK already provides
anthropic.transform_schemathat does all of this correctly.Fix
output_config+ tools conflict.When both
output_config(structured output) andtoolsare present in a request,output_configconstrains ALL text output to the JSON schema, which prevents the model from emittingtool_useblocks. This PRmoves tool conversion before
output_configsetup and skipsoutput_configwhen tools are present.Fix precommit / type-check issues in
vlm_embedding.py,internal_python_interpreter.py,mistral_model.py, andhybrid_retrival.py.REMOVE normalize_schema for output as it is not needed.
What is the purpose of this pull request?
Checklist
pyproject.tomland runuv lockIf you are unsure about any of these, don't hesitate to ask. We are here to help!