mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-20 02:34:52 +00:00
perf: 减少聊天内容配置,自动截断上下文
This commit is contained in:
2
src/api/response/chat.d.ts
vendored
2
src/api/response/chat.d.ts
vendored
@@ -7,9 +7,7 @@ export type InitChatResponse = {
|
||||
name: string;
|
||||
avatar: string;
|
||||
intro: string;
|
||||
secret: ModelSchema.secret;
|
||||
chatModel: ModelSchema.service.chatModel; // 对话模型名
|
||||
modelName: ModelSchema.service.modelName; // 底层模型
|
||||
history: ChatItemType[];
|
||||
isExpiredTime: boolean;
|
||||
};
|
||||
|
Reference in New Issue
Block a user