Rate-limit only LLM-bound chat turns #3

Merged
leora merged 1 commits from fix/rate-limit-llm-only into main 2026-10-08 19:32:09 +08:00
Owner

The per-IP limit from #2 also counted button clicks, payment results and the landing view. None of those call the model, so a fast demo user could get 429s while clicking through a checkout. The limit now applies only to free-text turns that reach the LLM, or to every turn when AGENT_MARKET_LLM_EVENTS=1. tests/llm_proxy_check.sh covers both cases.

The per-IP limit from #2 also counted button clicks, payment results and the landing view. None of those call the model, so a fast demo user could get 429s while clicking through a checkout. The limit now applies only to free-text turns that reach the LLM, or to every turn when `AGENT_MARKET_LLM_EVENTS=1`. `tests/llm_proxy_check.sh` covers both cases.
leora added 1 commit 2026-10-08 19:31:05 +08:00
leora merged commit ad29b9c93a into main 2026-10-08 19:32:09 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leora/agent-market#3
No description provided.