litellm/tests/test_litellm_rust/ocr
Yujong Lee b204dec9f9 feat(python-bridge): run deployment hooks through the native cursor
async_pre_call_deployment_hook, async_post_call_success_deployment_hook and
async_post_call_failure_deployment_hook run on every SDK call, not only on
the proxy, and the native OCR path still delegated them to the Python chain
in litellm.utils. DeploymentBody now iterates litellm.callbacks through
CallbackFamily::Deployment* with Delivery::Await, chaining the replaced
kwargs or response through each CustomLogger and containing failure-hook
errors per target while pre and post hook errors propagate.

Runner::invoke returns an error when an awaited leaf yields a non-awaitable
instead of guessing from is_none. The legacy-disabled test registers a
deployment hook and forbids the three utils entry points.
2026-09-16 17:50:11 +00:00
..
__init__.py test(ocr): isolate native Rust bridge contracts (#40410) 2026-09-10 16:51:37 -07:00
test_callbacks.py feat(python-bridge): run deployment hooks through the native cursor 2026-09-16 17:50:11 +00:00
test_cohere.py more fixing 2026-09-16 17:50:11 +00:00
test_dispatch.py refactor(ocr): complete native lifecycle and preserve Azure auth (#40734) 2026-09-12 11:56:49 -07:00
test_guardrails.py test(ocr): isolate native Rust bridge contracts (#40410) 2026-09-10 16:51:37 -07:00
test_lifecycle.py refactor(python-bridge): classify callbacks natively instead of function_setup 2026-09-16 17:50:11 +00:00
test_requests.py refactor(python-bridge): drop OCR callback fast path and body re-aliasing 2026-09-16 17:50:11 +00:00