@liveblocks/react-ui
Advanced tools
Changelog
v3.5.1
@liveblocks/react-tiptap
Changelog
v3.5.0
@liveblocks/node
getAiCopilots
createAiCopilot
getAiCopilot
updateAiCopilot
deleteAiCopilot
createWebKnowledgeSource
createFileKnowledgeSource
deleteFileKnowledgeSource
deleteWebKnowledgeSource
getKnowledgeSources
getKnowledgeSource
getFileKnowledgeSourceMarkdown
getWebKnowledgeSourceLinks
Changelog
v3.4.1
@liveblocks/core
execute
callback.@liveblocks/react
useSendAiMessage
to use the the last used copilot id in a chat when
no copilot id is passed to the hook or the method returned by the hook.Changelog
v3.4.0
@liveblocks/react
Tool calls will now stream in while under construction. This means that tools
will render sooner and more often re-render, while partialArgs
are streaming
in.
New behavior (>=3.4):
- 1st render:
{ stage: "receiving", partialArgs: {} }
- 2nd render:
{ stage: "receiving", partialArgs: { cities: [] } }
- 3rd render:
{ stage: "receiving", partialArgs: { cities: [""] } }
- 4th render:
{ stage: "receiving", partialArgs: { cities: ["Pa"] } }
- 5th render:
{ stage: "receiving", partialArgs: { cities: ["Paris"] } }
- etc.
- Then
{ stage: "executing", args: { cities: "Paris" } }
(same as before)- And
{ stage: "executed", args, result }
(same as before)Before (<3.4):
- Stage "receiving" would never happen
- 1st render would be with
{ stage: "executing", args: { cities: ["Paris"] } }
- 2nd render would be with
{ stage: "executed", args, result }
RoomProvider
, initialPresence
and initialStorage
now get re-evaluated
whenever the room ID (the id
prop) changes.@liveblocks/react-ui
AiTool
via a new variant
prop.AiChat
: incomplete content is
now handled gracefully so things like bold, links, or tables all render
instantly without seeing partial Markdown syntax first.AiChat
as Markdown, including ones from the user.AiChat
. (e.g. "Use the <AiChat />
component" would render as "Use the `` component")AiChat
.Changelog
v3.3.4
@liveblocks/client
useSendAiMessage
first and then immediately opening the
<AiChat />
afterwards.@liveblocks/react-tiptap
AnchoredThreads
is
selected, similarly to @liveblocks/react-lexical
.