feat: save system prompt

This commit is contained in:
archer
2023-05-02 14:06:10 +08:00
parent b0d414ac12
commit 90456301d2
10 changed files with 104 additions and 27 deletions

1
src/types/chat.d.ts vendored
View File

@@ -1,6 +1,7 @@
export type ChatItemSimpleType = {
obj: 'Human' | 'AI' | 'SYSTEM';
value: string;
systemPrompt?: string;
};
export type ChatItemType = {
_id: string;