The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(python-bridge): initialize the interpreter in the embedder seed test
Yujong Leeeeaf4f36e49d
diff --git a/litellm-rust/crates/python-bridge/src/cache/embedder.rs b/litellm-rust/crates/python-bridge/src/cache/embedder.rsindex 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;