litellm/litellm-rust/crates/python-bridge/src/secrets
yujonglee dff8131f14
refactor(rust_bridge): route Python state reads through host modules (#45689)
* refactor(rust_bridge): group the Python modules Rust imports by name under rust_bridge/host

Rust reads Python-owned state (legacy callback registries, model capabilities) through
modules it imports by path. Put them in one folder with an AGENTS.md that states the
contract, and update the module path constants on the Rust side.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* refactor(rust_bridge): route Python state reads through host accessors

* docs(rust_bridge): point test_support at the moved host contract test

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* refactor(rust_bridge): move secret manager, transport and timeout accessors under host

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* chore(greptile): register rust_bridge/host AGENTS.md in files.json

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-11 14:10:16 -07:00
..
vault feat(secrets): route secret resolution through native Rust backends (#42619) 2026-09-23 08:24:57 -07:00
callback.rs refactor(rust_bridge): route Python state reads through host modules (#45689) 2026-10-11 14:10:16 -07:00
config.rs refactor(rust): share anthropic types, request helpers, and streaming contracts across crates (#43426) 2026-09-27 14:53:12 -07:00
error.rs feat(secrets): route secret resolution through native Rust backends (#42619) 2026-09-23 08:24:57 -07:00
mod.rs refactor(rust_bridge): remove rule-gated native secret-manager selection (#44906) 2026-10-06 19:14:55 +00:00
mutation.rs feat(secrets): route secret resolution through native Rust backends (#42619) 2026-09-23 08:24:57 -07:00
operations.rs feat(secrets): route secret resolution through native Rust backends (#42619) 2026-09-23 08:24:57 -07:00
provider.rs feat(secrets): route secret resolution through native Rust backends (#42619) 2026-09-23 08:24:57 -07:00
python.rs refactor(rust_bridge): route Python state reads through host modules (#45689) 2026-10-11 14:10:16 -07:00
resolved.rs refactor(http): hand out an owned Client and route all providers through the pool (#43245) 2026-09-25 18:31:15 -07:00
runtime.rs refactor(rust_bridge): route Python state reads through host modules (#45689) 2026-10-11 14:10:16 -07:00
vault.rs refactor(rust_bridge): route Python state reads through host modules (#45689) 2026-10-11 14:10:16 -07:00