We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b861df0 commit c57a1c8Copy full SHA for c57a1c8
ai/ai-react-app/src/config/personas.ts
@@ -1,10 +1,4 @@
1
-export interface Persona {
2
- id: string;
3
- name: string;
4
- systemInstruction: string;
5
-}
6
-
7
-export const PREDEFINED_PERSONAS: Persona[] = [
+export const PREDEFINED_PERSONAS = [
8
{
9
id: "default",
10
name: "Default",
@@ -39,4 +33,4 @@ export const PREDEFINED_PERSONAS: Persona[] = [
39
33
name: "Custom...",
40
34
systemInstruction: "",
41
35
},
42
-];
36
+] as const;
0 commit comments