cd /news/ai-tools/litellm-fixes-ignored-web-search-cap… · home › topics › ai-tools › article
[ARTICLE · art-169793] src=runtimewire.com ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

LiteLLM fixes ignored web-search cap that turned a limit of one into three searches and a 500

LiteLLM merged a pull request fixing a bug that ignored the 'max_agentic_loops' cap, after a live test showed a cap-one request making three Tavily searches and six OpenAI Responses calls before returning HTTP 500. With the fix, the same request made one search and two Responses calls, returned 200 with 'finish_reason: stop', and logged $0.0312 in key spend instead of $0.0755. LiteLLM is the AI gateway co-founded by Krrish Dholakia and Ishaan Jaffer.

read1 min views1 publishedNov 15, 2026
LiteLLM fixes ignored web-search cap that turned a limit of one into three searches and a 500
Image: Runtimewire (auto-discovered)

In the PR's cap-one live test, LiteLLM went from three searches, six Responses calls and a 500 to one search, two calls and a stopped 200.

        By [RuntimeWire Staff](https://runtimewire.com/author/runtimewire-staff)
        · Published 

An administrator of LiteLLM, the AI gateway co-founded by Krrish Dholakia and Ishaan Jaffer, could set 'max_agentic_loops: 1', ask for three searches, and watch the gateway do the expensive part anyway. In the live test reported in the merged pull request, the request made three Tavily searches and six OpenAI Responses calls before returning HTTP 500. After the fix, the same cap-one request made one search and two Responses calls, returned 200 with 'finish_reason: stop', and logged $0.0312 in key spend instead of $0.0755.…

── more in #ai-tools 4 stories · sorted by recency
── more on @litellm 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/litellm-fixes-ignore…] indexed:0 read:1min 2026-11-15 · —