@sqlrooms/ai-core / getChatActiveStatus
Function: getChatActiveStatus()
getChatActiveStatus(
messages,behavior?):ChatActiveStatusInfo
Derives the current user-facing activity from the latest chat turn. Tool labels honor toolRenderBehavior before falling back to a humanized tool name.
Parameters
| Parameter | Type |
|---|---|
messages | UIMessage<unknown, UIDataTypes, UITools>[] | undefined |
behavior | ToolRenderBehavior |