Interface StatusListener
- All Known Implementing Classes:
ChatPanel, ConversationPanel
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener interface for receiving real-time status updates from a
Chat session.
This is primarily used by the UI to display a status indicator or "traffic light" reflecting the assistant's current activity.
-
Method Summary
Modifier and TypeMethodDescriptionvoidstatusChanged(ChatStatus status, String lastExceptionToString) Called when the chat's operational status changes.
-
Method Details
-
statusChanged
Called when the chat's operational status changes.- Parameters:
status- The new operational state (e.g., API_CALL_IN_PROGRESS).lastExceptionToString- The string representation of the last exception that occurred, ornullif none.
-
