litellm/tests/rust-python-harness/strategies
narmstrong-berry 30dd693199
fix(messages): match python stream cache gate, logging and interceptor order on rust
Store a streamed Messages response in the cache only when Python would: a
message_stop event line, no provider error frame and at least one frame with
output. Leave dict results untouched by mark_rust_response so hidden params
never reach result dicts, logging objects or hook digests. Ask interceptors
whether they handle the call after the cache lookup, not at decode time, so a
cache hit never calls can_handle. Emit the track_llm_api_timing service event
for the provider exchange. Bill and log a stream superseded by a router
fallback as the failure of its error frame, with the partial usage warning.
Hand litellm_logging_obj to deployment pre-call hooks as @client does, so the
autorouter baseline cache sees retried requests.
2026-11-11 10:34:49 +00:00
..
e2e_parity fix(messages): match python stream cache gate, logging and interceptor order on rust 2026-11-11 10:34:49 +00:00
trace_parity docs(agents): ban semicolons and colons in human-facing text (#45684) 2026-10-09 16:36:32 -07:00
unit_tests_parity refactor(rust): remove gateway, config, router, realtime, and trace-parity infrastructure 2026-09-16 16:00:07 +00:00
unit_tests_rust refactor(rust): remove gateway, config, router, realtime, and trace-parity infrastructure 2026-09-16 16:00:07 +00:00
__init__.py test: add OCR python-to-rust test parity ledger (WIP) (#39434) 2026-09-02 19:22:52 -07:00