|
| 1 | +--- |
| 2 | +area: webapp |
| 3 | +type: feature |
| 4 | +--- |
| 5 | + |
| 6 | +AI prompt management dashboard and enhanced span inspectors. |
| 7 | + |
| 8 | +**Prompt management:** |
| 9 | +- Prompts list page with version status, model, override indicators, and 24h usage sparklines |
| 10 | +- Prompt detail page with template viewer, variable preview, version history timeline, and override editor |
| 11 | +- Create, edit, and remove overrides to change prompt content or model without redeploying |
| 12 | +- Promote any code-deployed version to current |
| 13 | +- Generations tab with infinite scroll, live polling, and inline span inspector |
| 14 | +- Per-prompt metrics: total generations, avg tokens, avg cost, latency, with version-level breakdowns |
| 15 | + |
| 16 | +**AI span inspectors:** |
| 17 | +- Custom inspectors for `ai.generateText`, `ai.streamText`, `ai.generateObject`, `ai.streamObject` parent spans |
| 18 | +- `ai.toolCall` inspector showing tool name, call ID, and input arguments |
| 19 | +- `ai.embed` inspector showing model, provider, and input text |
| 20 | +- Prompt tab on AI spans linking to prompt version with template and input variables |
| 21 | +- Compact timestamp and duration header on all AI span inspectors |
| 22 | + |
| 23 | +**AI metrics dashboard:** |
| 24 | +- Operations, Providers, and Prompts filters on the AI Metrics dashboard |
| 25 | +- Cost by prompt widget |
| 26 | +- "AI" section in the sidebar with Prompts and AI Metrics links |
| 27 | + |
| 28 | +**Other improvements:** |
| 29 | +- Resizable panel sizes now persist across page refreshes |
| 30 | +- Fixed `<div>` inside `<p>` DOM nesting warnings in span titles and chat messages |
0 commit comments