mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-12 12:06:04 +00:00
Add explicit return for consistency
Added back the return statement in insert_chunks for consistency with the document_id property pattern where None is explicitly returned.
This commit is contained in:
parent
3be1479bec
commit
fb4dfef14d
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ class VectorIORouter(VectorIO):
|
|||
f"ttl_seconds={ttl_seconds}, chunk_ids={doc_ids}{' and more...' if len(chunks) > 3 else ''}"
|
||||
)
|
||||
provider = await self.routing_table.get_provider_impl(vector_db_id)
|
||||
await provider.insert_chunks(vector_db_id, chunks, ttl_seconds)
|
||||
return await provider.insert_chunks(vector_db_id, chunks, ttl_seconds)
|
||||
|
||||
async def query_chunks(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue