chore: Get sqlite_vec and vector_store unit tests passing (#1413)

This commit is contained in:
Ben Browning 2025-03-05 13:20:13 -05:00 committed by GitHub
parent 77d323c2f8
commit 00570fde31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View file

@ -9,6 +9,7 @@ import sqlite3
import numpy as np
import pytest
import pytest_asyncio
import sqlite_vec
from llama_stack.apis.vector_io import Chunk, QueryChunksResponse
@ -48,7 +49,7 @@ def sqlite_connection(loop):
conn.close()
@pytest.fixture(scope="session", autouse=True)
@pytest_asyncio.fixture(scope="session", autouse=True)
async def sqlite_vec_index(sqlite_connection):
return await SQLiteVecIndex.create(dimension=EMBEDDING_DIMENSION, connection=sqlite_connection, bank_id="test_bank")