From 2fb82c9ed0f9929aa4dde91ccb5268bd34a5f20e Mon Sep 17 00:00:00 2001 From: Hardik Shah Date: Wed, 11 Jun 2025 17:23:07 -0700 Subject: [PATCH] fixed None to default of 10 --- llama_stack/apis/vector_io/vector_io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llama_stack/apis/vector_io/vector_io.py b/llama_stack/apis/vector_io/vector_io.py index 096c2579b..c14a88c5e 100644 --- a/llama_stack/apis/vector_io/vector_io.py +++ b/llama_stack/apis/vector_io/vector_io.py @@ -256,9 +256,9 @@ class VectorIO(Protocol): vector_store_id: str, query: str | list[str], filters: dict[str, Any] | None = None, - max_num_results: int | None = None, + max_num_results: int | None = 10, ranking_options: dict[str, Any] | None = None, - rewrite_query: bool | None = None, + rewrite_query: bool | None = False, ) -> VectorStoreSearchResponse: """Search for chunks in a vector store.