From eeaf4f36e49d507cdfe0614c9bb374d5338b571d Mon Sep 17 00:00:00 2001 From: Yujong Lee Date: Mon, 21 Sep 2026 22:07:15 +0000 Subject: [PATCH] test(python-bridge): initialize the interpreter in the embedder seed test Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm-rust/crates/python-bridge/src/cache/embedder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm-rust/crates/python-bridge/src/cache/embedder.rs b/litellm-rust/crates/python-bridge/src/cache/embedder.rs index 26edb26f428..99c3de34e05 100644 --- a/litellm-rust/crates/python-bridge/src/cache/embedder.rs +++ b/litellm-rust/crates/python-bridge/src/cache/embedder.rs @@ -98,6 +98,7 @@ mod tests { #[tokio::test] async fn async_embed_returns_the_seeded_vector_or_unavailable() { + Python::initialize(); let embedder = Python::attach(|py| PythonEmbedder::new(py.None())); let metadata = Map::new(); let embedder_ref = &embedder;