You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add query length validation with 20k character limit
- Add MAX_AGENT_QUERY_LENGTH constant (20,000 characters) to agent types
- Validate query length in agent controller and return 413 error if exceeded
- Add client-side validation in home route and chat hook with user-friendly error messages
- Truncate oversized queries during state migration to prevent performance issues
- Export MAX_AGENT_QUERY_LENGTH from api-types for frontend usage
- Pass skipRateLimitCheck flag in createAgentSession API
0 commit comments