@huyooo/ai-chat-frontend-react 0.3.21 → 0.3.22

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.
@@ -24,6 +24,8 @@ interface MessageBubbleProps {
24
24
  atContextItems?: AtContextItem[];
25
25
  /** 生成此消息时使用的模型 */
26
26
  model?: string;
27
+ /** 生成此消息时使用的模型展示名 */
28
+ modelDisplayName?: string;
27
29
  /** 生成此消息时使用的模式 (ask/agent) */
28
30
  mode?: string;
29
31
  /** 用户上传的图片 */
@@ -56,6 +56,7 @@ export declare function useChat(options: UseChatOptions): {
56
56
  content?: string;
57
57
  timestamp?: number;
58
58
  model?: string;
59
+ modelDisplayName?: string;
59
60
  mode?: ChatMode;
60
61
  webSearchEnabled?: boolean;
61
62
  thinkingEnabled?: boolean;