This commit is contained in:
Sarthak Deshpande 2025-06-24 15:07:08 +02:00 committed by GitHub
commit 76afaf302f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 127 additions and 95 deletions

View file

@ -22,7 +22,7 @@ logger = logging.getLogger(__name__)
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 in ["inline::faiss", "inline::sqlite-vec"]:
if p.provider_type in ["inline::faiss", "inline::sqlite-vec", "inline::chromadb"]:
return
pytest.skip("OpenAI vector stores are not supported by any provider")