You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Managed session console does not render session.error events - failed turns are silent in the chat UI #2596
When a managed session turn fails (e.g. model missing, provider key missing), the backend correctly records the failure but the console chat UI shows nothing.
SessionTurnRunner.failTurn() (agentscope-service/service-dataplane/.../SessionTurnRunner.java) appends a session.error event (payload {error: {type, code, message}}) and sets the session status to terminated.
The event is persisted (dp.builder_session_event) and returned by GET /api/sessions/{id}/events, but the chat component agentscope-service/frontend/src/components/ChatPanel.tsx only handles user.message, agent.message, agent.turn_stub, agent.tool_use, agent.tool_result, session.requires_action, session.status_idle — there is no branch for session.error, so the error is silently dropped on the client.
Verified end-to-end: 12 events (incl. 3× session.error) returned by the API, but nothing rendered in the chat panel.
Repro
Start agentscope-service locally
Create an agent without a model (or with a model whose provider key is unset)
Create a session and send a message → turn fails with Failed to create model for id ...
Chat panel shows no error; session badge shows terminated at most
Expected
The chat UI displays the failure (code + message) as an error bubble, both on initial load and via SSE during a live turn.
Activity
fix(frontend): render session.error events in managed session chat (a…
feat(console): transcript overhaul - ordered content blocks, markdown…
fix(frontend): render session.error events in managed session chat (a…
feat(console): transcript overhaul - ordered content blocks, markdown…