-
Notifications
You must be signed in to change notification settings - Fork 272
/
constants.ts
91 lines (83 loc) · 1.95 KB
/
constants.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
import { translate } from './translate';
export const SETTINGS_KEY = 'BABYAGIUI_SETTINGS';
export const EXECUTIONS_KEY = 'BABYAGIUI_EXECUTIONS';
export const STATE_KEY = 'BABYAGIUI_STATE';
export const EXAMPLES_KEY = 'BABYAGIUI_EXAMPLES';
export const MODELS = [
{
id: 'gpt-4-1106-preview',
name: 'OpenAI GPT-4 Turbo',
icon: 'openai-logo.svg',
badge: 'Preview',
},
{
id: 'gpt-4',
name: 'OpenAI GPT-4',
icon: 'openai-logo.svg',
},
{
id: 'gpt-3.5-turbo',
name: 'OpenAI GPT-3.5 Turbo',
icon: 'openai-logo.svg',
},
];
export const ITERATIONS = [
{ id: '0', name: 'Infinity' },
{ id: '1', name: '1' },
{ id: '3', name: '3' },
{ id: '5', name: '5' },
{ id: '10', name: '10' },
{ id: '20', name: '20' },
{ id: '50', name: '50' },
];
export const BABYBEEAGI_ITERATIONS = [
{ id: '0', name: 'Until All tasks completed 🐝' }, //${translate('UNTIL_ALL_TASKS_COMPLETED', 'constants') this translation is not working
];
export const AGENT = [
{
id: 'babydeeragi',
name: 'BabyDeerAGI',
icon: '🦌',
badge: 'STABLE',
},
{
id: 'babyelfagi',
name: 'BabyElfAGI',
icon: '🧝',
badge: 'BETA',
},
];
export const ALL_AGENTS = [
{
id: 'babyelfagi',
name: 'BabyElfAGI',
icon: '🧝',
badge: 'BETA',
},
{
id: 'babydeeragi',
name: 'BabyDeerAGI',
icon: '🦌',
message: '🤖/🔎+📄/🧑💻',
badge: 'STABLE',
},
{
id: 'babycatagi',
name: 'BabyCatAGI',
icon: '🐱',
message: '🤖/🔎+📄',
},
{
id: 'babybeeagi',
name: 'BabyBeeAGI',
icon: '🐝',
message: '🤖/🔎/📄',
},
{ id: 'babyagi', name: 'BabyAGI', icon: '👶', message: '🤖' },
];
export const THEME = [
{ id: 'system', name: 'SYSTEM', icon: '🖥️' },
{ id: 'light', name: 'LIGHT', icon: '🌞' },
{ id: 'dark', name: 'DARK', icon: '🌚' },
];
export const SPECIFIED_SKILLS = ['text_completion', 'web_search']; // for BabyDeerAGI