litellm/tests/unit/ocr
Yujong Lee 2019bef732 refactor(rust-bridge): decide native routing in the catalog, drop bypass and Rust declines
The catalog gains target and feature axes. Messages computes its target from the
handler's own passthrough lookup and flags proxy safeguards classification as a
feature, so both stay on Python through declarative rules instead of a bypass
predicate or a Rust decline that calls back into Python.

Sync entries called with their async flag now return the native async coroutine
through PublicDispatch.defer when the catalog picks Rust, and keep the legacy
Python call untouched otherwise.

Constrained rules on any axis now count as conditional when deciding whether to
project a request, so a target or feature rule no longer hides a later Rust rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Yujong Lee <yujong@berri.ai>
2026-10-16 14:51:52 +00:00
..
__init__.py test: migrate phase 15 legacy tests to tests/unit 2026-09-20 11:55:43 +00:00
test_dispatch.py refactor(rust-bridge): decide native routing in the catalog, drop bypass and Rust declines 2026-10-16 14:51:52 +00:00