From efa547bb6874f8548e99a10d2bf1c834d97215d0 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 Mar 2026 04:19:22 -0500 Subject: [PATCH] Full history page with tags, notes, vector API, and bulk ops MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New /history page (replaces slide-out panel): - Full-page data table: ID, Mode, Prompt, Models, Tags, Date - Active/Archived/All view toggle - Filter by mode, tag, or search text - Checkbox select for bulk archive/restore - Click any row → detail panel with full responses Per-run detail: - Inline tag editor: add tags (Enter), remove tags (click ✕) - Notes textarea with auto-save (1s debounce) - Archive/Restore/Delete buttons - Collapsible response cards (click header to expand) Database: - tags TEXT[] column with GIN index for fast tag queries - notes TEXT column for freeform annotations APIs: - POST /api/runs/:id/tags — update tags and/or notes - GET /api/runs/tags — list all unique tags in use - GET /api/runs/vectors — structured text documents for AI/embedding Returns: mode, prompt, models, date, tags, notes + all response text Filters: ?mode=, ?tag=, ?limit= Each doc includes token estimate for embedding planning Main UI: History button now links to /history page Co-Authored-By: Claude Opus 4.6 (1M context) --- llm_team_ui.py | 400 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 399 insertions(+), 1 deletion(-) diff --git a/llm_team_ui.py b/llm_team_ui.py index 7233526..69da6fe 100644 --- a/llm_team_ui.py +++ b/llm_team_ui.py @@ -1698,7 +1698,7 @@ HTML = r"""

LLM Team

0 models