Add /debug page: inspect LLM context by session ID
- GET /sessions/{id}/context — returns session.context (what the model sees)
  with message count and total char count
- /debug — standalone HTML page, session ID from URL hash
  Shows each context message: role badge, full content, tool calls as JSON,
  images as thumbnails, per-message and total char/token estimates

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 527d684 commit ef771e50c000aac401c416aede90766d4a2f06ec
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 9 Apr
Showing 3 changed files
View
client/debug.html 0 → 100644
View
navi/api/routes/sessions.py
View
navi/main.py