@myun/gimi-chat 0.4.8 → 0.5.0

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.
@@ -40,7 +40,7 @@ export interface IAIInputProps {
40
40
  onSend?: (text: string) => void;
41
41
  onConversationCreated?: (conversationId: number) => void;
42
42
  onSendEnd?: (message: IChatMessageItem) => void;
43
- onMicHangUp?: () => void;
43
+ onMicHangUp?: () => boolean;
44
44
  onFileUploaded?: (file: FileItem) => void;
45
45
  enableVoiceRecord?: boolean;
46
46
  enableVoiceChat?: boolean;
@@ -112,8 +112,8 @@ export interface AgentConfig {
112
112
 
113
113
  export interface CommonChatProps {
114
114
  showInput?: boolean;
115
- baseUrl?: string;
116
- token?: string;
115
+ baseUrl: string;
116
+ token: string;
117
117
  showHeader?: boolean;
118
118
  autoSendValue?: string;
119
119
  initSendValue?: string;