mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
fix(rag): add mutable-ok suppression for type discipline gate
This commit is contained in:
parent
5b02f731b3
commit
07b69782fb
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ async def _execute_query_pipeline(
|
|||
_reserved_retrieval_keys = frozenset(
|
||||
("vector_store_id", "top_k", "custom_llm_provider", "query", "max_num_results")
|
||||
)
|
||||
search_params = {k: v for k, v in {**retrieval_config, **kwargs}.items() if k not in _reserved_retrieval_keys}
|
||||
search_params = {k: v for k, v in {**retrieval_config, **kwargs}.items() if k not in _reserved_retrieval_keys} # mutable-ok: must be a dict to unpack as **kwargs into asearch
|
||||
|
||||
with _suppressed_sub_call_billing():
|
||||
search_response = await litellm.vector_stores.asearch(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue