API
type UiChatMessage<
Tools extends
Chat.AnyTool = Chat.AnyTool ,
> =
| UiAssistantMessage <Tools>
| UiUserMessage
| UiErrorMessage ;UiChatMessage
@typeToolsChat.AnyTooltype UiChatMessage<
Tools extends
Chat.AnyTool = Chat.AnyTool ,
> =
| UiAssistantMessage <Tools>
| UiUserMessage
| UiErrorMessage ;@typeToolsChat.AnyTool