(part: SBChatMessagePart)
| 22 | export type SBChatToolPart = (ToolUIPart<SBChatMessageToolTypes> | DynamicToolUIPart) & SBChatMessagePart; |
| 23 | |
| 24 | export const isSBChatToolPart = (part: SBChatMessagePart): part is SBChatToolPart => { |
| 25 | return isToolUIPart(part); |
| 26 | }; |
| 27 | |
| 28 | export const insertMention = (editor: CustomEditor, data: MentionData, target?: Range | null) => { |
| 29 | const mention: MentionElement = { |
nothing calls this directly
no outgoing calls
no test coverage detected