feat: 添加流式支持;教材知识库 Demo

This commit is contained in:
2025-07-09 16:34:04 +08:00
parent 5b9db644e4
commit d6e70a4ef8
11 changed files with 282 additions and 49 deletions

View File

@ -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 {