litellm/litellm-rust/crates/host-python/src
Yujong Lee 898fbaf985 refactor(host): declare each hook point once and fold Python hook stages generically
Adding one interception point meant a route-facing trait method, an
InterceptRequest variant, channel forwarding, a match arm in every driver, a
CallHooks method and a hand-written suspend/resume trio in HookChain.
InterceptRequest is now the only list of points. Interceptors has one handle
method that answers the points an implementer cares about and passes the rest
through, routes raise points through the typed InterceptPoints calls, the
channel yields any point to the host, and the native driver answers every
point with one arm. HookChain runs its argument, wire-request and response
stages through one generic fold. No behavior changes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 03:08:47 +00:00
..
hooks/chain refactor(host): declare each hook point once and fold Python hook stages generically 2026-10-19 03:08:47 +00:00
argument.rs refactor(python-bridge): ship a signature base and read the resolved call (#45450) 2026-10-08 17:20:29 -07:00
binding.rs refactor(rust): share call lifecycle across route-owned inference (#43461) 2026-09-27 16:05:30 -07:00
caller.rs refactor(rust-bridge): generator-style execution protocol with stream step names (#46282) 2026-10-14 17:19:07 -07:00
conversion_cache.rs feat: improve trace ingestion and trace details (#43975) 2026-10-01 13:45:33 -07:00
driver.rs refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
error.rs refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
file_reader.rs refactor(host-python): collect host failures in a thiserror Error enum (#46361) 2026-10-14 17:19:06 -07:00
fork_gate.rs refactor(rust): drop a comment that repeats the reserve doc 2026-09-19 18:22:06 +00:00
gil.rs refactor(host-python): collect host failures in a thiserror Error enum (#46361) 2026-10-14 17:19:06 -07:00
handle.rs refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
hooks.rs refactor(rust): centralize host execution and compose callbacks (#43515) 2026-09-28 19:20:27 +00:00
lib.rs refactor(rust-bridge): return an unstarted Execution from native entrypoints and drive it in Python (#46299) 2026-10-14 17:50:44 -07:00
marshal.rs refactor(rust-bridge): share field and response marshaling (#45187) 2026-10-07 17:22:23 -07:00
native.rs refactor(host-python): collect host failures in a thiserror Error enum (#46361) 2026-10-14 17:19:06 -07:00
owned.rs refactor(rust): share call lifecycle across route-owned inference (#43461) 2026-09-27 16:05:30 -07:00
runtime.rs refactor(host-python): collect host failures in a thiserror Error enum (#46361) 2026-10-14 17:19:06 -07:00
services.rs feat(cache): select Rust caching through explicit cache objects (#43601) 2026-09-29 00:01:44 +00:00