feat: openai files provider

# What does this PR do?


## Test Plan
This commit is contained in:
Eric Huang 2025-10-28 12:46:44 -07:00
parent 94b0592240
commit 889ce058b9
6 changed files with 347 additions and 27 deletions

View file

@ -80,6 +80,13 @@ def skip_if_provider_doesnt_support_openai_vector_stores_search(client_with_mode
)
# TODO
def skip_if_files_provider_is_openai(llama_stack_client):
providers = [provider for provider in llama_stack_client.providers.list() if provider.api == "files"]
assert len(providers) == 1, "Expected exactly one files provider"
return providers[0].provider_type == "remote::openai"
@pytest.fixture(scope="session")
def sample_chunks():
return [