mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
Extract a shared _valid_max_results predicate that rejects bools (an int subclass) and non-positive values, and reuse it from both the connection-mode request count and the response-side cap so both paths honor the same contract. |
||
|---|---|---|
| .. | ||
| foundry_responses_web_search_fixture.json | ||
| test_bing_grounding_search_transformation.py | ||