返回 JoyAI-Echo
.config.local.example.json
根目录 / echo_longvideo / Director_Agent / .config.local.example.json
1 {
2 "promptStacker": {
3 "enabled": true
4 },
5 "agents": {
6 "defaults": {
7 "workspace": ".local-workspace",
8 "model": "your-model-name",
9 "provider": "custom",
10 "maxTokens": 8192,
11 "contextWindowTokens": 65536,
12 "contextBlockLimit": null,
13 "temperature": 0.1,
14 "maxToolIterations": 200,
15 "maxToolResultChars": 16000,
16 "maxConcurrentRequests": 3,
17 "providerRetryMode": "standard",
18 "reasoningEffort": null,
19 "timezone": "UTC",
20 "unifiedSession": false,
21 "disabledSkills": [],
22 "idleCompactAfterMinutes": 0,
23 "dream": {
24 "intervalH": 2,
25 "modelOverride": null,
26 "maxBatchSize": 20,
27 "maxIterations": 15,
28 "annotateLineAges": true
29 }
30 }
31 },
32 "channels": {
33 "sendProgress": true,
34 "sendToolHints": false,
35 "sendMaxRetries": 3,
36 "websocket": {
37 "enabled": true,
38 "host": "127.0.0.1",
39 "port": 8765,
40 "path": "/",
41 "websocketRequiresToken": false,
42 "allowFrom": [
43 "*"
44 ],
45 "streaming": true,
46 "maxMessageBytes": 37748736,
47 "pingIntervalS": 20.0,
48 "pingTimeoutS": 20.0,
49 "downloadAllowedDomainSuffixes": [],
50 "downloadTrustedInternalDomains": []
51 },
52 "director_callback": {
53 "enabled": true,
54 "host": "127.0.0.1",
55 "port": 18791,
56 "path_prefix": "/api/director",
57 "secret": ""
58 }
59 },
60 "providers": {
61 "custom": {
62 "apiKey": "${NANOBOT_MODEL_API_KEY}",
63 "apiBase": "https://llm.example.com/v1/",
64 "extraHeaders": null
65 }
66 },
67 "gateway": {
68 "host": "127.0.0.1",
69 "port": 18790,
70 "heartbeat": {
71 "enabled": true,
72 "intervalS": 1800,
73 "keepRecentMessages": 16
74 }
75 },
76 "tools": {
77 "web": {
78 "enable": true,
79 "proxy": null,
80 "search": {
81 "provider": "duckduckgo",
82 "apiKey": "",
83 "baseUrl": "",
84 "maxResults": 5,
85 "timeout": 30
86 }
87 },
88 "exec": {
89 "enable": false,
90 "timeout": 60,
91 "pathAppend": "",
92 "sandbox": "",
93 "allowedEnvKeys": []
94 },
95 "my": {
96 "enable": false,
97 "allowSet": false
98 },
99 "echoGenerator": {
100 "baseUrl": "http://127.0.0.1:8221",
101 "callbackBaseUrl": "http://127.0.0.1:18791",
102 "httpTimeoutSec": 30
103 },
104 "restrictToWorkspace": false,
105 "mcpServers": {},
106 "ssrfWhitelist": [],
107 "fileStorage": {
108 "local": {
109 "directory": "director/assets",
110 "baseUrl": "http://127.0.0.1:8765",
111 "routePrefix": "/api/assets"
112 },
113 "outbound": {
114 "backend": "inline",
115 "s3": {
116 "endpointUrl": "",
117 "publicBaseUrl": "",
118 "bucket": "",
119 "region": "",
120 "keyPrefix": "agent-assets",
121 "addressingStyle": "auto",
122 "accessKeyId": "",
123 "secretAccessKey": "",
124 "sessionToken": ""
125 }
126 }
127 },
128 "memoryReview": {
129 "enabled": true,
130 "autoApprove": false,
131 "candidateCount": 24,
132 "provider": "custom",
133 "model": "your-multimodal-model-name"
134 }
135 }
136 }
137
137 lines JSON