- load_chat_history: handle malformed chat-history.json (list → dict) - save_chat_message: use setdefault instead of direct key access - chat endpoint: use local variable instead of mutating Pydantic model - Migrate from deprecated on_event to FastAPI lifespan context manager - list_dir: filter with p.is_file() to skip __pycache__/ - /api/brain: restrict to .md files only - gemini error handling: check combined stdout+stderr for auth errors - Add missing 'errors' entry to PAGE_TITLES (was showing 'Unknown') |
||
|---|---|---|
| .. | ||
| pages | ||
| api.js | ||
| app.js | ||
| index.html | ||
| styles.css | ||
| utils.js | ||