perf: response store

This commit is contained in:
archer
2023-07-23 21:04:57 +08:00
parent ba965320d5
commit 1ffe1be562
20 changed files with 227 additions and 145 deletions

View File

@@ -46,7 +46,7 @@ export function gpt_chatItemTokenSlice({
maxToken
}: {
messages: ChatItemType[];
model?: ModelType;
model?: string;
maxToken: number;
}) {
let result: ChatItemType[] = [];