open_intelligent_ui_chat 3.1.0
open_intelligent_ui_chat: ^3.1.0 copied to clipboard
OpenUiChat and OpenUiUserMessage: Open Intelligent UI answers in an ai_sdk_flutter_ui chat.
3.1.0 #
- An answer that is not a program renders as Markdown (
MarkdownBlocks) inside the answer'sOpenUiView, not as plain text, so it takes the view's theme, font and services. Fences registered inOpenUiServices.markdownFencesdraw there too. OpenUiChat(library:)passes the host library throughintelligentUiFor, so a host component with no builder throws anArgumentErrorand a built-in component the builders cannot draw is left out.- First release: OpenUiChat and OpenUiUserMessage, split from open_intelligent_ui.
OpenUiChattakessendinstead of an agent for any transport (agentis now optional), renders answers stored as text parts (asConversationChatControllerstores them), passeslocaleandrecordsto each answer's session, and scopes action keys to the message id.OpenUiAnswerViewrenders anOpenUiAnswersmessage.- Migration:
OpenUiChat.agentis nullable; code that reads it needs!or a null check.