- teach.py, questions.py: replace f-string SQL with parameterized CAST(:vec AS vector) queries - auth.py: add reusable check_rate_limit() Redis helper - teach.py: rate limit /chat to 30 req/10min per user - tts.py: rate limit /speak to 60 req/hr per user - teach.py: stronger system prompt — no clarifying questions, use markdown, answer directly - TeachChat.jsx: render assistant messages with ReactMarkdown (already in package.json) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| alembic | ||
| app | ||
| tests | ||
| .dockerignore | ||
| .env.example | ||
| alembic.ini | ||
| Dockerfile | ||
| manage.py | ||
| requirements.txt | ||