mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-20 18:12:25 +00:00
feat: support filters in file search
# What does this PR do? ## Test Plan
This commit is contained in:
parent
90d03552d4
commit
1c56b9133a
13 changed files with 449 additions and 63 deletions
|
|
@ -71,12 +71,21 @@ def mock_responses_store():
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def openai_responses_impl(mock_inference_api, mock_tool_groups_api, mock_tool_runtime_api, mock_responses_store):
|
||||
def mock_vector_io_api():
|
||||
vector_io_api = AsyncMock()
|
||||
return vector_io_api
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def openai_responses_impl(
|
||||
mock_inference_api, mock_tool_groups_api, mock_tool_runtime_api, mock_responses_store, mock_vector_io_api
|
||||
):
|
||||
return OpenAIResponsesImpl(
|
||||
inference_api=mock_inference_api,
|
||||
tool_groups_api=mock_tool_groups_api,
|
||||
tool_runtime_api=mock_tool_runtime_api,
|
||||
responses_store=mock_responses_store,
|
||||
vector_io_api=mock_vector_io_api,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue