feat: 添加流式支持;教材知识库 Demo
This commit is contained in:
@ -2,8 +2,9 @@ export type VisitorRole = "stu" | "tea" | "fans";
|
||||
|
||||
export type LocalMessage = {
|
||||
id: string;
|
||||
role: "bot" | "user";
|
||||
role: "bot" | "user" | "suggestion";
|
||||
message?: string;
|
||||
suggestions?: string[];
|
||||
};
|
||||
|
||||
export interface IWorkflowResponse {
|
||||
|
Reference in New Issue
Block a user