AdaptiveUI_UX / vivek /backend

Commit History

Deploy: Anthropic prompt caching β€” stable system prefix (widget rules/registry/contract) cached (ephemeral), per-turn tail uncached; ~90% cheaper repeated input. cache boundary stripped on OpenAI/off paths
e7b46f8

saivivek6 commited on

Deploy: reliable Vanguard NOTE β€” mandatory/exact-format prompt rule (plain NOTE: line, no markdown wrapping) + tolerant frontend matcher (handles **Note**, > Note, - Note)
0d81b6f

saivivek6 commited on

Deploy: ### Analysis only when a chart is actually rendered β€” decline/empty-widget/text-only answers now use full prose (no analyst numbered block)
ead5325

saivivek6 commited on

Deploy: Vanguard red NOTE callout β€” when a visual can't be produced (unsupported kind or missing data), model emits a NOTE: line rendered as a red note in the UI; never analysis-without-chart-without-explanation
9f8717d

saivivek6 commited on

Deploy: analysis is chart-only β€” explicit exclusion so text-only answers (definitions, concepts, chat) get no ### Analysis section
c38fa80

saivivek6 commited on

Deploy: units on charts β€” value_prefix/value_suffix carried into all labels & tooltips (e.g. $3.35T, $47.5B); no-rounding grounding rule (widget copies exact <RESPONSE> figures); units rule + examples in registry so the LLM reliably emits them
ffd6ebb

saivivek6 commited on

Deploy: analysis now lives in <RESPONSE> (complete answer + ### Analysis, blue-bold figures), widget is chart-only β€” no duplication; response markdown styling for bold/headings; complete-response prompt (drop one-sentence cap)
897a737

saivivek6 commited on

Deploy: flow/flowchart chart kind (layered, arrowed); richer charts (on-chart value labels, rounded bars, gradient areas, stronger hover) across kinds; baseline iframe auto-resizes to chart's natural height via postMessage + fill normalization; baseline visual sizing prompt
9703678

saivivek6 commited on

Deploy: Baseline pane generates LLM visuals as live-typed HTML in a sandboxed iframe (allow-scripts, no same-origin) via new SSE /api/chat_plain_stream; close-Adaptive toggle (Baseline full-width) + guarded pane toggles; stronger 'must emit widget when claiming a chart' rule; per-chart distinct colors (even-hue >20) across all kinds incl sankey nodes
7788ad7

saivivek6 commited on

Deploy: Opus 4.8 + Fast Mode + effort=medium; LLM-proof colors (20-color curated palette + even-hue spread >20, deterministic, all chart kinds incl sankey nodes); shared chart theme (tooltips/axes); progress semantic tones; table string-shape fix + defensive renderer; answer-first chart decline + Gantt anti-pretense; prompt dedup + stale-HTML cleanup; UX centered column + turn dividers + compact stat cards
7e59743

saivivek6 commited on

Deploy: Opus 4.8 + Fast Mode + effort=medium (drop deprecated temperature); answer-first chart decline + Gantt anti-pretense; table columns string-shape fix + defensive renderer; UX centered 1180px column + turn dividers, compact stat cards + smaller charts; bubble auto-scale; haiku->opus model wiring
935971a

saivivek6 commited on

Deploy: bandit/RAG flags(off)+knowledge mode, RAG/ChromaDB wiring, Vanguard decline tone, analyst commentary (Analysis heading + numbered blue points), no-dup-table, bigger HTML export, larger charts + hbar axis-label fix, JSON-leak fixes
47ad5bc

saivivek6 commited on

Deploy: drop JSON-as-text blocks (final JSON-in-UI fix)
16cd24d

saivivek6 commited on

Deploy: backend strips leaked widget JSON from responses (no JSON in UI)
5cd2c94

saivivek6 commited on

Deploy: items-fallback for bar/line render + RENDER-NOW rule (rebuilt dist)
7bd97ee

saivivek6 commited on

Deploy: components-only (no HTML), 33 chart kinds incl 3D/rose/tree, HTML export, robustness + no-fabrication/no-JSON-leak (rebuilt dist)
669d696

saivivek6 commited on

Chart-type request gating + colors back to LLM
abd3ca3

saivivek6 commited on

Deploy: components-only widgets (strict JSON, no HTML) + 9 finance chart kinds
20cb61c

saivivek6 commited on

Deploy: heatmap/pie/scatter chart support + no-blank fallback (rebuilt dist)
153ca60

saivivek6 Claude Opus 4.8 commited on

Deploy vivek app to Space: Vue UI (bundled dist), streaming widgets, JSON schema renderer
c97e8a9

saivivek6 Claude Opus 4.8 commited on