Render trace input/output as clean HTML instead of raw JSON

t-350·WorkTask·
·
·
·Omni/Ava/UI
Created1 month ago·Updated1 month ago

Description

Edit

In the trace view, the input and output sections are currently raw JSON dumps. These should be rendered as clean, readable HTML instead.

Approach: 1. If the JSON structures correspond to defined Haskell types, add HTML render functions/instances for them 2. If the JSON is generated at runtime by the LLM (no defined types), prompt a small model like Haiku to generate HTML from the JSON on-the-fly

This will make traces much more readable and user-friendly.

Timeline (2)

🔄[human]Open → InProgress1 month ago
🔄[human]InProgress → Done1 month ago