Update sqlite-vec provider to support OpenAI vector store apis

This commit is contained in:
Hardik Shah 2025-06-09 14:38:26 -07:00
parent b55f1249e0
commit 1a888a6bfe
2 changed files with 296 additions and 12 deletions

View file

@ -22,8 +22,10 @@ def skip_if_provider_doesnt_support_openai_vector_stores(client_with_models):
vector_io_providers = [p for p in client_with_models.providers.list() if p.api == "vector_io"]
for p in vector_io_providers:
if p.provider_type not in ["inline::faiss"]:
pytest.skip(f"OpenAI vector stores are not supported by {p.provider_type}")
if p.provider_type in ["inline::faiss", "inline::sqlite-vec"]:
return
pytest.skip("OpenAI vector stores are not supported by any provider")
@pytest.fixture