litellm/tests/unit/proxy/decisions_endpoints
mateo-berri 41f285e245 fix(decisions)!: remove the 128-question cap on /v1/decisions and the decision_model guardrail
128 is Perplexity's documented limit, but LiteLLM applied it to every provider. /v1/decisions and /decisions answered 400 past 128 questions without calling the provider, the playground refused to send more, and a decision_model guardrail past 128 checks was skipped at boot. Each provider now enforces its own limit, as /v1/systemone already does

Breaking change: a config-file decision_model guardrail past 128 checks was skipped at boot and now runs, so one past its provider's limit fails every request it screens. Check counts before upgrading
2026-11-22 23:31:44 -08:00
..
__init__.py
test_endpoints.py fix(decisions)!: remove the 128-question cap on /v1/decisions and the decision_model guardrail 2026-11-22 23:31:44 -08:00