File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- import {
1+ import type {
22 AssistantMessageContentType ,
33 Message ,
44 UserAttachment ,
55 UserMessageContext ,
66 BaseMessage ,
77} from './chatHistory' ;
8-
98import type { Metadata , ToolCalls , ToolResponseContent } from './executor/types' ;
109
1110const DB_NAME = 'modAI' ;
Original file line number Diff line number Diff line change 11import { createGenerateButton } from './generateButton' ;
22import { createModal , verifyPermissions } from './localChat' ;
3- import { LocalChatConfig } from './localChat/types' ;
43import { createLoadingOverlay } from './overlay' ;
54
5+ import type { LocalChatConfig } from './localChat/types' ;
6+
67type LocalChat = {
78 /**
89 * @deprecated use the ui.localChat.createModal instead
Original file line number Diff line number Diff line change @@ -4,12 +4,13 @@ import { scrollToBottom } from './modalActions';
44import { buildModalChat } from './modalChat' ;
55import { buildModalHeader } from './modalHeader' ;
66import { buildModalInput } from './modalInput' ;
7- import { chatHistory , UpdatableHTMLElement } from '../../chatHistory' ;
7+ import { chatHistory } from '../../chatHistory' ;
88import { globalState } from '../../globalState' ;
99import { lng } from '../../lng' ;
1010import { createModAIShadow } from '../dom/modAIShadow' ;
1111
1212import type { Modal , LocalChatConfig } from './types' ;
13+ import type { UpdatableHTMLElement } from '../../chatHistory' ;
1314
1415export const buildModal = ( config : LocalChatConfig ) => {
1516 const { shadow, shadowRoot } = createModAIShadow < Modal > ( true , ( ) => {
You can’t perform that action at this time.
0 commit comments