Files
kairos_miniapp/pages/chat/read.md
2026-03-27 17:55:18 +08:00

15 lines
519 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
聊天列表类型
``` typescript
interface ChatType{
loading: boolean, // 是否开始响应
end:boolean,//响应输出完成
chat_type: 1 | 2, // 1用户2ai普通响应
chat_content: string, //文本内容
md_content: string, //md格式
con_type:1, //消息类型1文本2图片
tool:string, //用工具时的默认内容,为空代表不是工具
chat_status?:number, //2停止
quick_btn:[], //快捷菜单按钮,为空不显示
drugList:[],//药品信息,只用来设置提醒
}
```