mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
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>
This commit is contained in:
parent
8c82505964
commit
eeaf4f36e4
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue