diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-01 18:59:04 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-01 18:59:04 -0500 |
| commit | 11ee0b44397ff5f58a11a105883c07a39d49bfa3 (patch) | |
| tree | 7f29283b0ab4808e8b1d9fb5a5a0500a360e392d /Omni/Jr/Web/Handlers.hs | |
| parent | d78a9a5038fb95f4035812b4ef5b0c25036aae4a (diff) | |
Fix timeline partial to include cost/token metrics and controls
The HTMX-refreshed AgentEventsPartial was missing:
- Cost/token summary in header
- Live toggle button
- Autoscroll toggle button
- Comment form
Now matches the full page renderUnifiedTimeline output.
Diffstat (limited to 'Omni/Jr/Web/Handlers.hs')
| -rw-r--r-- | Omni/Jr/Web/Handlers.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Omni/Jr/Web/Handlers.hs b/Omni/Jr/Web/Handlers.hs index 463c9f7..da8a2e6 100644 --- a/Omni/Jr/Web/Handlers.hs +++ b/Omni/Jr/Web/Handlers.hs @@ -435,7 +435,7 @@ server = let isInProgress = case TaskCore.findTask tid tasks of Nothing -> False Just task -> TaskCore.taskStatus task == TaskCore.InProgress - pure (AgentEventsPartial events isInProgress now) + pure (AgentEventsPartial tid events isInProgress now) taskEventsStreamHandler :: Text -> Servant.Handler (SourceIO ByteString) taskEventsStreamHandler tid = do |
