tia/src
Mannu 1628588d5a fix(ai): correct env var names and fresh session per home modal open
AI route was reading LITELLM_URL/LITELLM_KEY but env vars are named
LITELLM_BASE_URL/LITELLM_API_KEY — causing 503 on every request.

Home page chat now creates a fresh session each time the modal opens
and resets homeSessionId on close, so conversations don't pile into
the same old session.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 13:31:30 +05:30
..
__tests__ Security hardening - all 8 patches applied 2026-05-16 23:59:43 +05:30
app fix(ai): correct env var names and fresh session per home modal open 2026-05-17 13:31:30 +05:30
db Security hardening - all 8 patches applied 2026-05-16 23:59:43 +05:30
lib fix(admin): use correct column name 'expires' in admin_sessions queries 2026-05-17 12:22:17 +05:30
scripts Security hardening: auth, bcrypt, rate-limiting, RLS, audit 2026-05-16 23:11:01 +05:30
auth.ts Fix db imports: use dbUnscoped 2026-05-16 23:12:33 +05:30
middleware.ts Add debug endpoint 2026-05-17 00:46:12 +05:30