Skip to content

fix: agent page missing server-side live session pre-fetch #58

@JayantDevkar

Description

@JayantDevkar

Gap 1

The main session page fetches /live-sessions/active during SSR (server-side load) so the status badge appears immediately. The agent detail page (agents/[agent_id]/+page.server.ts) skips this entirely — no liveSession or isStarting props are passed to ConversationView.

Impact: Status badge flashes/missing on initial agent page load until client-side polling kicks in.

Fix: Add liveSession fetch to agents/[agent_id]/+page.server.ts and pass it through to ConversationView.

Related to #56

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions