(id, configuredText, missingText, configured)
| 4826 | } catch (error) { |
| 4827 | if (isUnknownApiRoute(error, "/api/chat/session")) { |
| 4828 | renderChatHistoryUnavailable(); |
| 4829 | return; |
| 4830 | } |
| 4831 | throw error; |
| 4832 | } |
| 4833 | if (token !== state.chatLoadToken) return; |
| 4834 | if (!data.session) throw new Error(ui().chat.missingSession); |
| 4835 | state.chatSessionId = data.session.session_id || normalizedSessionId; |
| 4836 | renderChatMessages(data.messages || []); |
no test coverage detected