Skip to content

Commit

Permalink
fixed chunk id
Browse files Browse the repository at this point in the history
  • Loading branch information
dmartinol committed Mar 3, 2025
1 parent 754feba commit ab74a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama_stack/distribution/routers/routers.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def insert_chunks(
) -> None:
logcat.debug(
"core",
f"VectorIORouter.insert_chunks: {vector_db_id}, {len(chunks)} chunks, ttl_seconds={ttl_seconds}, chunk_ids={[chunk.id for chunk in chunks[:3]]}{' and more...' if len(chunks) > 3 else ''}",
f"VectorIORouter.insert_chunks: {vector_db_id}, {len(chunks)} chunks, ttl_seconds={ttl_seconds}, chunk_ids={[chunk.metadata['document_id'] for chunk in chunks[:3]]}{' and more...' if len(chunks) > 3 else ''}",
)
return await self.routing_table.get_provider_impl(vector_db_id).insert_chunks(vector_db_id, chunks, ttl_seconds)

Expand Down

0 comments on commit ab74a79

Please sign in to comment.