mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
pre-commit
This commit is contained in:
parent
dcd4370806
commit
2d26e6cf27
1 changed files with 3 additions and 4 deletions
|
|
@ -7,6 +7,8 @@
|
||||||
from unittest.mock import AsyncMock, Mock
|
from unittest.mock import AsyncMock, Mock
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
from llama_stack.core.routers.vector_io import VectorIORouter
|
||||||
from llama_stack_api import (
|
from llama_stack_api import (
|
||||||
ModelNotFoundError,
|
ModelNotFoundError,
|
||||||
ModelType,
|
ModelType,
|
||||||
|
|
@ -14,9 +16,6 @@ from llama_stack_api import (
|
||||||
OpenAICreateVectorStoreRequestWithExtraBody,
|
OpenAICreateVectorStoreRequestWithExtraBody,
|
||||||
)
|
)
|
||||||
|
|
||||||
from llama_stack.core.routers.vector_io import VectorIORouter
|
|
||||||
from llama_stack_api import OpenAICreateVectorStoreRequestWithExtraBody
|
|
||||||
|
|
||||||
|
|
||||||
async def test_single_provider_auto_selection():
|
async def test_single_provider_auto_selection():
|
||||||
# provider_id automatically selected during vector store create() when only one provider available
|
# provider_id automatically selected during vector store create() when only one provider available
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue