mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
The ceiling used to go through `int(... or 3)`, so anything `int()` accepted worked. Tightening the new shared validator to `isinstance(int)` turned a config that boots today into a proxy that refuses to start, because `max_agentic_loops: os.environ/MAX_AGENTIC_LOOPS` is resolved to a string before it reaches either check, and a YAML-quoted "5" is a string too. Accept ints, integral floats, and strings that parse to a whole number. Keep refusing bools, fractional floats, words, and anything below 1. |
||
|---|---|---|
| .. | ||
| test_websearch_agentic_loop_cap.py | ||
| test_websearch_chat_completion.py | ||
| test_websearch_interception_handler.py | ||
| test_websearch_interception_thinking.py | ||
| test_websearch_native_blocks.py | ||
| test_websearch_responses.py | ||
| test_websearch_short_circuit.py | ||
| test_websearch_streaming_wrap.py | ||
| test_websearch_thinking_constraint.py | ||