litellm/tests/unit/rag
mateo-berri 97d7ed4b89 fix(vector-stores): keep image hits to image searches and reject a caller retrievalQuery
Port of the main branch change. Text searches return the same text hits as before, image hits come back only for query_image searches, a caller retrievalQuery answers 400 or drops under drop_params, a file_search tool carrying query_image searches again, and a non-string query next to an image answers 400

On this line the typed views use as_str_mapping and a local list helper, since decoded_json_object and as_object_list are not on lts/1.108.x

(cherry picked from commit 65a7206199)
2026-11-10 12:51:59 -08:00
..
ingestion refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
__init__.py test: add __init__.py to intermediate tests/unit packages 2026-09-20 12:55:27 +00:00
test_main.py fix(vector-stores): keep image hits to image searches and reject a caller retrievalQuery 2026-11-10 12:51:59 -08:00