-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcitadel.config.ts
More file actions
78 lines (68 loc) · 1.72 KB
/
Copy pathcitadel.config.ts
File metadata and controls
78 lines (68 loc) · 1.72 KB
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
import { defineConfig } from './src/config/schema';
export default defineConfig({
env: 'development',
// Provider configurations
providers: {
ollama: {
baseURL: 'http://localhost:11434/v1',
apiKey: 'ollama',
},
},
// Per-agent model configuration
agents: {
worker: {
provider: 'ollama',
model: 'gpt-oss:120b-cloud',
mcpTools: ['filesystem:*'],
},
gatekeeper: {
provider: 'ollama',
model: 'gpt-oss:120b-cloud',
mcpTools: [
'filesystem:read_text_file',
'filesystem:read_multiple_files',
'filesystem:list_directory',
'filesystem:list_directory_with_sizes',
'filesystem:directory_tree',
'filesystem:search_files',
'filesystem:get_file_info',
'filesystem:list_allowed_directories',
],
},
},
mcpServers: {
filesystem: {
command: 'npx',
args: ['-y', '@modelcontextprotocol/server-filesystem'],
},
},
// Worker settings
// Worker settings
worker: {
timeout: 1200,
maxRetries: 3,
costLimit: 1.00,
min_workers: 1,
max_workers: 5,
load_factor: 1.0,
},
gatekeeper: {
min_workers: 1,
max_workers: 5,
load_factor: 1.0,
},
// Pearls integration
pearls: {
binary: 'prl',
path: '.pearls',
autoSync: true,
},
bridge: {
maxLogs: 1000,
},
context: {
maxHistoryMessages: 30,
maxToolResponseSize: 100000,
maxMessageSize: 200000,
},
});