mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-13 13:32:38 +00:00
undo vector_store_id in params
This commit is contained in:
parent
33d7119708
commit
e6428492e6
11 changed files with 94 additions and 59 deletions
|
|
@ -978,10 +978,10 @@ class OpenAIVectorStoreMixin(ABC):
|
|||
|
||||
async def openai_create_vector_store_file_batch(
|
||||
self,
|
||||
vector_store_id: str,
|
||||
params: Annotated[OpenAICreateVectorStoreFileBatchRequestWithExtraBody, Body(...)],
|
||||
) -> VectorStoreFileBatchObject:
|
||||
"""Create a vector store file batch."""
|
||||
vector_store_id = params.vector_store_id
|
||||
if vector_store_id not in self.openai_vector_stores:
|
||||
raise VectorStoreNotFoundError(vector_store_id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue