mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 00:53:14 +00:00
custom prompts
This commit is contained in:
@@ -8,7 +8,7 @@ import { RootState } from '../store';
|
||||
|
||||
interface Preference {
|
||||
apiKey: string;
|
||||
prompt: { name: string; id: string };
|
||||
prompt: { name: string; id: string; type: string };
|
||||
selectedDocs: Doc | null;
|
||||
sourceDocs: Doc[] | null;
|
||||
conversations: { name: string; id: string }[] | null;
|
||||
@@ -16,7 +16,7 @@ interface Preference {
|
||||
|
||||
const initialState: Preference = {
|
||||
apiKey: 'xxx',
|
||||
prompt: { name: 'default', id: 'default' },
|
||||
prompt: { name: 'default', id: 'default', type: 'public' },
|
||||
selectedDocs: {
|
||||
name: 'default',
|
||||
language: 'default',
|
||||
|
||||
Reference in New Issue
Block a user