@blueking/chat-helper 0.0.1-beta.8 → 0.0.1-beta.9

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.
@@ -222,14 +222,18 @@ export interface ITemplateUserMessageApi extends IBaseMessageApi {
222
222
  role: MessageRole.TemplateUser;
223
223
  }
224
224
  export interface ITextMessageContent extends IBaseMessageContent {
225
- data: string;
226
225
  id?: number;
227
226
  type: MessageContentType.Text;
227
+ data: {
228
+ text: string;
229
+ };
228
230
  }
229
231
  export interface ITextMessageContentApi extends IBaseMessageContent {
230
- data: string;
231
232
  id?: number;
232
233
  type: MessageContentType.Text;
234
+ data: {
235
+ text: string;
236
+ };
233
237
  }
234
238
  export interface IThinkingMessageContent extends IBaseMessageContent {
235
239
  type: MessageContentType.Thinking;