@docyrus/ui-pro-ai-assistant 0.2.9 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/input-area.d.ts +8 -0
- package/dist/index.js +35 -10
- package/dist/index.js.map +1 -1
- package/dist/styles.css +3 -0
- package/dist/views/assistant-view.d.ts +8 -0
- package/dist/views/chat-panel.d.ts +9 -1
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -32,6 +32,14 @@ interface AssistantViewCommonProps {
|
|
|
32
32
|
onMicrophoneClick?: () => void;
|
|
33
33
|
onToolAction?: (event: ToolActionEvent) => void;
|
|
34
34
|
threadId?: string;
|
|
35
|
+
initialModelId?: string;
|
|
36
|
+
initialFeatures?: {
|
|
37
|
+
webSearch?: boolean;
|
|
38
|
+
thinking?: boolean;
|
|
39
|
+
deepResearch?: boolean;
|
|
40
|
+
documentSearch?: boolean;
|
|
41
|
+
workCanvas?: boolean;
|
|
42
|
+
};
|
|
35
43
|
}
|
|
36
44
|
export interface InlineModeProps extends AssistantViewCommonProps {
|
|
37
45
|
mode: 'inline';
|
|
@@ -52,5 +52,13 @@ export interface ChatPanelProps {
|
|
|
52
52
|
messagesClassName?: string;
|
|
53
53
|
compactToolbar?: boolean;
|
|
54
54
|
threadId?: string;
|
|
55
|
+
initialModelId?: string;
|
|
56
|
+
initialFeatures?: {
|
|
57
|
+
webSearch?: boolean;
|
|
58
|
+
thinking?: boolean;
|
|
59
|
+
deepResearch?: boolean;
|
|
60
|
+
documentSearch?: boolean;
|
|
61
|
+
workCanvas?: boolean;
|
|
62
|
+
};
|
|
55
63
|
}
|
|
56
|
-
export declare function ChatPanel({ messages, isLoading, input, onInputChange, onSendMessage, onStop, logo, userPhoto, userDisplayName, description, title, welcomeMessage, isLoadingAgent, placeholder, footerText, supportFiles, supportWebSearch, supportDocumentSearch, supportDeepResearch, supportThinking, supportWorkCanvas, supportMultiModels, deploymentId, tenantAiAgentId, enableMicrophone, enableVoice, isRecording, recognition, onMicrophoneClick, onToolAction, openCanvasView, onSendSpreadsheetCommands: _onSendSpreadsheetCommands, renderThreadHeader, messagesClassName, compactToolbar, threadId }: ChatPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
export declare function ChatPanel({ messages, isLoading, input, onInputChange, onSendMessage, onStop, logo, userPhoto, userDisplayName, description, title, welcomeMessage, isLoadingAgent, placeholder, footerText, supportFiles, supportWebSearch, supportDocumentSearch, supportDeepResearch, supportThinking, supportWorkCanvas, supportMultiModels, deploymentId, tenantAiAgentId, enableMicrophone, enableVoice, isRecording, recognition, onMicrophoneClick, onToolAction, openCanvasView, onSendSpreadsheetCommands: _onSendSpreadsheetCommands, renderThreadHeader, messagesClassName, compactToolbar, threadId, initialModelId, initialFeatures }: ChatPanelProps): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED